Difference between revisions of "Template:Function"
Jump to navigation
Jump to search
imported>Qazaaq m |
imported>Qazaaq m (few small tweaks) |
||
Line 9: | Line 9: | ||
| CSWikiPage = PlayMagicEffectVisuals | | CSWikiPage = PlayMagicEffectVisuals | ||
| ReturnVal = void | | ReturnVal = void | ||
| ReferenceType = [Actor | | ReferenceType = [Actor|Activator] | ||
| arg0 = EffectID | | arg0 = EffectID | ||
| arg0Type = | | arg0Type = MagicEffectRef | ||
| optarg0 = | | optarg0 = Duration | ||
| optarg0Type = Short | | optarg0Type = Short | ||
| origin = GECK1 | | origin = GECK1 | ||
Line 27: | Line 27: | ||
| CSWikiPage = PlayMagicEffectVisuals | | CSWikiPage = PlayMagicEffectVisuals | ||
| ReturnVal = void | | ReturnVal = void | ||
| ReferenceType = [Actor | | ReferenceType = [Actor|Activator] | ||
| arg0 = EffectID | | arg0 = EffectID | ||
| arg0Type = MagicEffectRef | | arg0Type = MagicEffectRef | ||
| optarg0 = | | optarg0 = Duration | ||
| optarg0Type = Short | | optarg0Type = Short | ||
| origin = GECK1 | | origin = GECK1 | ||
Line 65: | Line 65: | ||
closing parenthesis: | closing parenthesis: | ||
-->{{ #if: {{{ReturnVal|}}} |)|}}<!-- | -->{{ #if: {{{ReturnVal|}}} |) |}}<!-- | ||
optional reference type (actor, activator, door, etc.): | optional reference type (actor, activator, door, etc.): |
Revision as of 19:08, 12 December 2008
This article is incomplete. You can help by filling in any blank descriptions. Further information might be found in a section of the discussion page. Please remove this message when no longer necessary. |
This is a WIP, feedback is appreciated. To retain readability a lot of HTML comments are used, they shouldn't impact the working of the template, but could add to the confusion a bit.
example:
{{Function | name = PlayMagicEffectVisuals | CSWikiPage = PlayMagicEffectVisuals | ReturnVal = void | ReferenceType = [Actor|Activator] | arg0 = EffectID | arg0Type = MagicEffectRef | optarg0 = Duration | optarg0Type = Short | origin = GECK1 | summary = Plays the visuals of the specified [[Magic Effects|Magic Effect]] on the calling reference. Visuals will play at least one cycle, regardless of duration, and if no duration is specified they play indefinitely or until the art stops animating. Note that duration does not need to be specified for this command; it will play once unless you specify a longer duration. }}
result:
Link to TES4 Construction Set Wiki: PlayMagicEffectVisuals.
Syntax:
(void) [Actor.PlayMagicEffectVisuals EffectID:MagicEffectRef Duration:Short
Plays the visuals of the specified Magic Effect on the calling reference. Visuals will play at least one cycle, regardless of duration, and if no duration is specified they play indefinitely or until the art stops animating.
Note that duration does not need to be specified for this command; it will play once unless you specify a longer duration.