Difference between revisions of "CastImmediateOnSelf"

58 bytes added ,  13:23, 13 April 2009
m
→‎Notes: +note it's not in the TES4 wiki; debolding titles
imported>Galahaut
imported>DewiMorgan
m (→‎Notes: +note it's not in the TES4 wiki; debolding titles)
Line 1: Line 1:
=='''Description'''==
==Description==


'''CastImmediateOnSelf''' causes the actor to cast the spell immediately on himself bypassing the casting animation. This works for spells that are target self.
'''CastImmediateOnSelf''' causes the actor to cast the spell immediately on himself bypassing the casting animation. This works for spells that are target self.


=='''Syntax'''==
==Syntax==


  [''ObjectREF''.]CastImmediateOnSelf <spell ID>
  [''ObjectREF''.]CastImmediateOnSelf <spell ID>
Line 9: Line 9:
  CIOS <spell ID>
  CIOS <spell ID>


=='''Examples'''==
==Examples==
  myRef.CastImmediateOnSelf mySpell
  myRef.CastImmediateOnSelf mySpell


=='''Notes'''==
==Notes==
In practice this will be often be used similarly to adding an ability (something that you want to effect the actor, but that you don't want him "casting"), however, rather than adding it to the base object (as addSpell does) '''CastImmediateOnSelf''' will only affect the reference and has a duration (because it is a spell, rather than an ability).
*In practice this will be often be used similarly to adding an ability (something that you want to effect the actor, but that you don't want him "casting"), however, rather than adding it to the base object (as addSpell does) '''CastImmediateOnSelf''' will only affect the reference and has a duration (because it is a spell, rather than an ability).
*'''Caveat:''' This function only works with self targeted spells.
*This function is new in the GECK, and was not available in the TES4 Construction Set.


'''Caveat:''' This function only works with self targeted spells.
==See also==
 
=='''See also'''==
*[[AddSpell]]
*[[AddSpell]]
*[[Cast]]
*[[Cast]]
Anonymous user