Area script not running
#1 -Silmarien-
Posted 08 September 2004 - 04:35 PM
EXTEND_TOP ~ar0527.bcs~ ~Scripts\E3AR0527.baf~
COPY_EXISTING ~ ar0527.are~ ~override\ar0527.are~
WRITE_ASCII ~0x94~ ~AR0527~
E3AR0527.baf is a creature creation script:
IF
Global("CREATUREEXISTS","GLOBAL",0)
THEN
RESPONSE #100
SetGlobal("CREATUREEXISTS","GLOBAL",1)
CreateCreature("CREATURE",[374.353],14)
END
The script does get assigned properly--I checked with NI. The problem is, when I enter the area, it just doesn't run. The game just sort of freezes a bit and then continues. The creature doesn't get created, and the variable doesn't get set, either.
Could somebody help please? Really at my wits' end!
#2
Posted 08 September 2004 - 04:51 PM
1) That your area's script is being overwridden by the main BridgeDistrict script. Try adding your new area to the MastArea.2da file to remedy this.
2) That your global is already used somewhere else in the game, thus mussing things up. (Use a prefix to help prevent these things. It's why we started using 'em. )
3) Your cre has a problem. Have you tried consoling the cre in?
The great wolf Fenrir gapes ever at the dwelling of the gods.
#3 -Silmarien-
Posted 08 September 2004 - 09:10 PM
I'll check the Bridge District script to see if it does anything. If I get really desperate I'll just spawn the creature in somewhere and get it to EscapeAreaMove(), think that would work?
Thanks, again.
#4
Posted 09 September 2004 - 08:21 PM
The great wolf Fenrir gapes ever at the dwelling of the gods.
#5
Posted 10 September 2004 - 03:49 AM
#6
Posted 10 September 2004 - 09:04 PM
True enough. Just to clarify though, it's not having been in an area previously that prevents the script from running it's changes, but the fact that the original area never got the script assignment update.Have you already visited the area? If the area is stored in a save game the the new script won't take effect.
The great wolf Fenrir gapes ever at the dwelling of the gods.
#7
Posted 13 September 2004 - 02:17 AM
Have you already visited the area? If the area is stored in a save game the the new script won't take effect.
Except if it's written in mastarea.ids? (question)
#8
Posted 13 September 2004 - 09:51 AM
The great wolf Fenrir gapes ever at the dwelling of the gods.
#9 -Silmarien-
Posted 13 September 2004 - 04:34 PM
#10
Posted 14 September 2004 - 09:34 AM
#11 -Silmarien-
Posted 15 September 2004 - 04:54 PM
#12
Posted 18 September 2004 - 12:10 PM
-Y-
'Go for the optics, Chiktikka. GO FOR THE OPTICS!!' - Tali vas Neema
DLTCEP Tutorials Update Page
DLTCEP Tutorials Main Page
Yovaneth's AI Scripts for BG1, BG2-SoA and IWD1
Fishing for Trouble - a quest mod for Shadows of Amn
#13
Posted 24 September 2004 - 04:26 PM