Jump to content

[LE] Making Summoned NPCs summon multiple NPCs?


Recommended Posts

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

 

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...