Difference between revisions of "Cast"

323 bytes added ,  04:01, 3 July 2010
clarified that Cast does not work in GECK
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>Zumbs
(clarified that Cast does not work in GECK)
Line 1: Line 1:
'''Syntax:'''
{{Function
  [[''ActorID''|''ActivatorID''.]Cast ''EffectID'' [''TargetRefID'']
  |origin = GECK1
'''Example:'''
|summary = Leftover from Oblivion
  Cast WellRestedSpell Player
|name = Cast
|returnVal = 0, 1
|returnType = void
|referenceType = [ActorID,ActivatorID]
|arguments =
  {{FunctionArgument
  |Name = EffectID
  |Type = ref
  |Optional = n
  }}{{FunctionArgument
  |Name = TargetRefID
  |Type = ref
  |Optional = y
  }}
  |example = Cast WellRestedSpell Player
}}


==Notes==
==Notes==
*This function is unused in the default game, though scripts will still compile using the above syntax.
*This function is unused in the default game. Even though scripts will still compile using the above syntax, nothing happens when Cast is invoked. Use [[CastImmediateOnSelf]] instead.


=='''See Also'''==
=='''See Also'''==
Anonymous user