Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

New Premium Module: Tyrants of the Moonsea! Read More
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

Solved! How to make NPC's go neutral and then green again without creating pulsing triangles?

BCaesarBCaesar Member Posts: 185
edited May 2017 in General Modding
Hello everyone.

I've got some times when I want to make party members (in this case Cernd) go neutral and then turn green again after the event is over. Here's the code as I have it now:

IF
Global("_bMazzyHostile","GLOBAL",4)
InParty("Cernd")
!StateCheck("Cernd",CD_STATE_NOTVALID)
THEN
RESPONSE #100
ChangeEnemyAlly(Myself,NEUTRAL)
END

IF
Global("_bMazzyHostile","GLOBAL",5)
InParty("Cernd")
!StateCheck("Cernd",CD_STATE_NOTVALID)
Global("_bmahocerndfight","GLOBAL",0)
THEN
RESPONSE #100
ChangeEnemyAlly(Myself,ALLY)
SetGlobal("_bmahocerndfight","GLOBAL",1)
END

And it works exactly as it should except that when he turns neutral the circle around him turns into four pulsing triangles and stays that way even when he turns green again. Is there a way to make that go away or a better way to code this so that doesn't happen?

I also posted this here: http://gibberlings3.net/forums/index.php?showtopic=28747
and here: http://www.shsforums.net/topic/59262-help-how-to-make-party-members-go-neutral-and-then-green-again-without-creating-pulsing-triangles/#entry594931



This is solved in the Spellhold version of this thread here: http://www.shsforums.net/topic/59262-solved-help-how-to-make-party-members-go-neutral-and-then-green-again-withou/#entry594945

Post edited by BCaesar on
Sign In or Register to comment.