Solved! How to make NPC's go neutral and then green again without creating pulsing triangles?
BCaesar
Member Posts: 480
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
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
0