BAF problems
Started by Sillara, May 16 2004 08:35 PM
6 replies to this topic
#1
Posted 16 May 2004 - 08:35 PM
I checked, and AR1005 does indeed have a .bcs file. When I looked at mine with NI, my code even showed up. (It was not the only code. There is some other code there, a very little, having to do with Jan.)
I am utterly stumped as to what is going on.
Any suggestions are greatly appreciated.
Sillara
I am utterly stumped as to what is going on.
Any suggestions are greatly appreciated.
Sillara
Check out my RPG forum!
#2
Posted 16 May 2004 - 08:40 PM
But is the bcs file assigned to the area, i.e. is it showing up when you open AR1005.are? In my ToB game AR1005.are doesn't have the script assigned, so you'll need to use Icelus' code:
One other quick item: pairing COPY_EXISTING with an EXTEND is redundant with the newer versions of WeiDU; you can just use the EXTEND commands. If the target script exists, then EXTEND will find it and add to it.
COPY_EXISTING ~AR1005.are~ ~override/AR1005.are~ WRITE_ASCII 0x94 ~AR1005~
One other quick item: pairing COPY_EXISTING with an EXTEND is redundant with the newer versions of WeiDU; you can just use the EXTEND commands. If the target script exists, then EXTEND will find it and add to it.
Edited by CamDawg, 16 May 2004 - 09:24 PM.
Why is this Hypnotoad video so popu... ALL GLORY TO THE HYPNOTOAD.
____
The Gibberlings Three - Home of IE Mods
The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.
#3
Posted 16 May 2004 - 09:41 PM
I don't know if I have an older version of Weidu or not; I got it a few months back when I first started modding. Anyway, I added the WRITE_ASCII line to my .tp2, and we got a bit further, but now it refuses to process my .baf saying there is a syntax error in it near text "JavinExists". (The first one.)
As I said earlier, this is my script baf.
IF
Global("TJGuardExists","AR1005",0)
InParty("Tsujath")
THEN
RESPONSE #100
SetGlobal("TJGuardExists","AR1005",1)
CreateCreature("TJGUARD",[742.746],11)
END
IF
Global("JavinExists","AR1005",0)
InParty("Tsujath")
THEN
RESPONSE #100
SetGlobal("JavinExists","AR1005",1)
CreateCreature("JAVIN",[626.843],11)
END
I do not understand what the problem is. What have I done wrong?
Thank you, icelus and Camdawg, though, for the other help. I am making progress!
Sillara
As I said earlier, this is my script baf.
IF
Global("TJGuardExists","AR1005",0)
InParty("Tsujath")
THEN
RESPONSE #100
SetGlobal("TJGuardExists","AR1005",1)
CreateCreature("TJGUARD",[742.746],11)
END
IF
Global("JavinExists","AR1005",0)
InParty("Tsujath")
THEN
RESPONSE #100
SetGlobal("JavinExists","AR1005",1)
CreateCreature("JAVIN",[626.843],11)
END
I do not understand what the problem is. What have I done wrong?
Thank you, icelus and Camdawg, though, for the other help. I am making progress!
Sillara
Check out my RPG forum!
#4 -Ashara-
Posted 17 May 2004 - 06:08 AM
I have never seen syntaxis:
Global("JavinExists","AR1005",0)
I always thought that it has to be:
Global("JavinExists","GLOBAL",0)
but then again, I done very little with Area Scripting.
Global("JavinExists","AR1005",0)
I always thought that it has to be:
Global("JavinExists","GLOBAL",0)
but then again, I done very little with Area Scripting.
Edited by domi, 17 May 2004 - 06:09 AM.
#5
Posted 17 May 2004 - 06:14 AM
No, that's fine. You can use either "GLOBAL" or "LOCALS" or "ARNAME" where ARNAME is the name of an area.
#7
Posted 17 May 2004 - 09:00 AM
Also, I'd recommend upgrading to the newest WeiDU version.
Try replacing the actions in the block that's not working with something you'll be able to see, so you can check whether the triggers or actions are the problem.
Some people like to make the script display a string when it runs, personally I like it to force Stoneskin on a character. Anything visible to tell you whether the problem is actions or triggers. If it's the triggers that are up, for example, then the string/Stoneskin won't appear.
Hope this helps!
Try replacing the actions in the block that's not working with something you'll be able to see, so you can check whether the triggers or actions are the problem.
Some people like to make the script display a string when it runs, personally I like it to force Stoneskin on a character. Anything visible to tell you whether the problem is actions or triggers. If it's the triggers that are up, for example, then the string/Stoneskin won't appear.
Hope this helps!
"We are the Gibberlings Three, as merry a band as you ever did see..." - Home of IE mods
< jcompton > Suggested plugs include "Click here so Compton doesn't ban me. http://www.pocketplane.net/ub"
< jcompton > Suggested plugs include "Click here so Compton doesn't ban me. http://www.pocketplane.net/ub"