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 comes back into the party the green circle around him turns into four pulsing triangles and stays that way. Is there a way to make that go away or a better way to code this so that doesn't happen?
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 comes back into the party the green circle around him turns into four pulsing triangles and stays that way. Is there a way to make that go away or a better way to code this so that doesn't happen?








