maxarturo Posted November 13, 2022 Share Posted November 13, 2022 Typo on > GoToState("SEQ01") Spell Property MySummonSpell01 Auto Bool Property isCasted = False Auto Hidden AUTO STATE SEQ01 EVENT OnCombatStateChanged(Actor akTarget, int aeCombatState) If (aeCombatState == 1) If ( isCasted == False ) isCasted = True MySummonSpell01.Cast(Self, Self) GoToState("SEQ02") EndIf EndIf ENDEVENT ENDSTATE STATE SEQ02 EVENT OnCombatStateChanged(Actor akTarget, int aeCombatState) If (aeCombatState == 0) isCasted = False GoToState("SEQ01") EndIf ENDEVENT ENDSTATE Link to comment Share on other sites More sharing options...
saintgrimm92 Posted November 15, 2022 Author Share Posted November 15, 2022 Typo on > GoToState("SEQ01") Spell Property MySummonSpell01 Auto Bool Property isCasted = False Auto Hidden AUTO STATE SEQ01 EVENT OnCombatStateChanged(Actor akTarget, int aeCombatState) If (aeCombatState == 1) If ( isCasted == False ) isCasted = True MySummonSpell01.Cast(Self, Self) GoToState("SEQ02") EndIf EndIf ENDEVENT ENDSTATE STATE SEQ02 EVENT OnCombatStateChanged(Actor akTarget, int aeCombatState) If (aeCombatState == 0) isCasted = False GoToState("SEQ01") EndIf ENDEVENT ENDSTATE lol wow. :sweat: I promise I'm not normally this dumb. Link to comment Share on other sites More sharing options...
Recommended Posts