Difference between revisions of "Cast"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>PoHa!
m (fixed another error)
imported>Ez0n3
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Syntax:'''
{{Function
  [[''ActorID''|''ActivatorID''.]Cast ''EffectID'' [''TargetRefID'']
  |CSWikiPage = Cast
'''Example:'''
|origin = GECK1
  Cast WellRestedSpell Player
|summary = Leftover from Oblivion
|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'''==
Line 12: Line 28:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:Game Effect Functions]]
[[Category:Game Effect Functions]]
[[Category:Game Effect Functions (GECK 1.1)]]
[[Category:Actor Functions]]
[[Category:Actor Functions]]
[[Category:Actor Functions (GECK 1.1)]]

Latest revision as of 06:43, 15 January 2011

< [[::Category:Functions|Category:Functions]]

Link to TES4 Construction Set Wiki: Cast.

A function included in the GECK version 1.1.0.36.

Description

Leftover from Oblivion

Syntax

[help]
[ActorID,ActivatorID].Cast EffectID:ref TargetRefID:ref

Example

Cast WellRestedSpell Player

Notes

  • 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