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 (it ends up in cernd.bcs)
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: https://forums.beamd...riangles#latest
and here: http://gibberlings3....showtopic=28747
Edited by BCaesar, 07 May 2017 - 10:18 PM.






