Having a little issue with one hero not wanting to swap in our out of the party via scripting. Here is the code:
Code:
set tag(tag:deathscript,on)
swap out hero (hero:Fred)
swap out hero (hero:Gluep)
swap out hero (hero:Alan)
add hero (hero:Harvey)
destroy npc (3)
create npc (6,8,2)
fight formation (162)
swap out hero (hero:Harvey)
swap in hero (hero:Fred)
swap in hero (hero:Gluep)
swap in hero (hero:Alan)
set tag (tag:deathscript,off)
swap out hero (hero:Fred)
swap out hero (hero:Gluep)
swap out hero (hero:Alan)
add hero (hero:Harvey)
destroy npc (3)
create npc (6,8,2)
fight formation (162)
swap out hero (hero:Harvey)
swap in hero (hero:Fred)
swap in hero (hero:Gluep)
swap in hero (hero:Alan)
set tag (tag:deathscript,off)
Everything works exactly as needed, with the exception of the swap in/out with Alan. He remains in the party regardless of everything I've tried. I thought a "wait for all" before the "fight formation" might help, but it didn't. I also tried calling him by using find hero, but that doesn't work either.
I double checked the HSI file and it shows his name as hero:Alan, so I think I'm good there...any suggestions?
Cornbread Chemist



