aVENGER_(RR) Posted September 23, 2007 Share Posted September 23, 2007 Due to the bugs which were associated with this character in the past (coins and scimitars getting stuck in various inventory slots) I have developed a habit of routinely CTRL+Y-ing him as soon as he appears. Anyhow, I've noticed that, on a few occasions, he still spawns even though he has already been killed. For example, the Slums area script (AR0400.BCS) is missing the !Dead("Habib") trigger: IF OR(2) TimeLT(DAWN_START) TimeGT(DUSK_START) Global("SpawnHabib","GLOBAL",0) THEN RESPONSE #100 SetGlobal("SpawnHabib","GLOBAL",1) CreateCreature("HABIB",[1706.305],2) // Habib END The trigger is also missing from the temple(s) of Illmater (SLILMAT.BCS): IF See([PC]) Range([PC],10) Global("SpawnHabib","GLOBAL",5) THEN RESPONSE #100 ClearAllActions() SetInterrupt(FALSE) DialogInterrupt(FALSE) CreateCreature("HABIB2",[155.301],10) // Habib SetGlobal("SpawnHabib","GLOBAL",6) ActionOverride("habib",DisplayStringHead(Myself,41825)) // My name is Habib! ActionOverride("habib",AttackOneRound(SixthNearest([PC]))) ActionOverride("habib",SetGlobal("SpawnHabib","GLOBAL",7)) ActionOverride("habib",EscapeArea()) Wait(1) DialogInterrupt(TRUE) SetInterrupt(TRUE) END This is certainly not a major bug, but it's kind of immersion breaking to have the guy appear right after you've killed him. Link to comment
CamDawg Posted December 14, 2007 Share Posted December 14, 2007 ' date='Sep 23 2007, 07:35 AM' post='99255']Due to the bugs which were associated with this character in the past (coins and scimitars getting stuck in various inventory slots) I have developed a habit of routinely CTRL+Y-ing him as soon as he appears. Anyhow, I've noticed that, on a few occasions, he still spawns even though he has already been killed. For example, the Slums area script (AR0400.BCS) is missing the !Dead("Habib") trigger: Shouldn't have to worry about a Dead() trigger in ar0400.bcs (or 0300.bcs, his other possible initial spawn point), as it's the first chance you'll ever have to meet him. For slilmat.bcs: // habib shouldn't spawn if dead COPY_EXISTING ~slilmat.bcs~ ~override~ DECOMPILE_BCS_TO_BAF REPLACE_TEXTUALLY ~Global("SpawnHabib","GLOBAL",5)~ ~Global("SpawnHabib","GLOBAL",5) !Dead("Habib")~ COMPILE_BAF_TO_BCS BUT_ONLY_IF_IT_CHANGES Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.