![]() |
The Black Wyrm's Lair Terms of Use |
![]() ![]() ![]() ![]() |
![]() |
![]()
Post
#1
|
|
Forum Member Posts: 1366 Joined: 22-August 04 From: Germany ![]() |
Hi,
I have two questions to BG1 coding: 1. If I want to have a nice visual effect, e.g. one creature dissappears with a lot of glowing light.. whatever, how do I code that? (For BGII, I would use: CODE CreateVisualEffectObject("effect",Myself) Is there something similar for BG1?)2. I have problems to put an item into an existing container. I have the following code in the area.baf: CODE IF Global("C#ItemInTruhe","GLOBAL",0) THEN RESPONSE #100 SetGlobal("C#ItemInTruhe","GLOBAL",1) ActionOverride("Container1",CreateItem("ITEM",0,0,0)) END which is the only way I see, but this puts the item in front of the container. How would the correct code have to be, to place the item inside? Thanks! PS: Answers as soon as possible, please... ![]() |
|
|
![]() |
![]()
Post
#2
|
|
![]() Mathematical poet Retired team member Posts: 159 Joined: 9-July 04 From: Prague, Czech Republic ![]() |
NumTimesTalkedTo(0)
"Hi, I'm mr. XYZ" (...) !NumTimesTalkedTo(0) //acts almost as True() in this case "Oh, Yourguy is not in the party or he is dead or he is sleeping." !NumTimesTalkedTo(0) !Dead("Myguy") !StateCheck("Myguy",STATE_SLEEPING) InParty("Myguy"") "Oh, Yourguy is still in the party and he is not dead and he isn't sleeping." or just "I have nothing to say at the moment..." -------------------- |
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 1st September 2025 - 09:30 PM |