Difference between revisions of "Scripting Tutorial: Summoned Creatures"

imported>Firebelley
imported>Firebelley
Line 98: Line 98:
End
End


Begin ScriptEffectUpdate
Begin GameMode


     if ( timer > 30 )    ;Creature is dead and fade timer passed
     if ( timer > 30 )    ;Creature is dead and fade timer passed
Line 121: Line 121:
     endif
     endif


   
     ;Increment timer
     ;Increment timer
     set timer to timer + GetSecondsPassed         
     set timer to timer + GetSecondsPassed         


     if ( timer > 28 ) && ( playonce == 1 )
     if ( timer > 28 ) && ( playonce == 1 )
Anonymous user