Difference between revisions of "Cast"
Jump to navigation
Jump to search
imported>PoHa! (Copied info from CS Wiki; removed incomplete tag) |
imported>PoHa! m (→See Also: fixed an error) |
||
Line 11: | Line 11: | ||
=='''See Also'''== | =='''See Also'''== | ||
[[CastImmediateOnSelf]] | *[[CastImmediateOnSelf]] | ||
[[ | *[[AddSpell]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Game Effect Functions]] | [[Category:Game Effect Functions]] | ||
[[Category:Actor Functions]] | [[Category:Actor Functions]] |
Revision as of 13:09, 3 April 2009
Syntax:
[[ActorID|ActivatorID.]Cast EffectID [TargetRefID]
Example:
Cast WellRestedSpell Player
Calling object casts the specified spell at the target. The behavior of this function depends on the range of the spell and the types of the calling object and target reference:
Notes
- This function is unused in the default game, though scripts will still compile using the above syntax.