Difference between revisions of "Template:Function"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Qazaaq
(adding origin field)
imported>Qazaaq
m (forgot :)
Line 40: Line 40:
line about the origin of the function (GECK1, FOSE0001)
line about the origin of the function (GECK1, FOSE0001)
-->
-->
{{ #switch {{{origin}}}
{{ #switch: {{{origin}}}
| GECK1    =  
| GECK1    =  
| FOSE0001 = A command for the [[Fallout Script Extender]].
| FOSE0001 = A command for the [[Fallout Script Extender]].

Revision as of 14:22, 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
| ReferenceType = [Actor, Activator]
| arg0          = EffectID
| arg0Type      = MagicEffect
| optarg0       = duration
| optarg0Type   = Short
| 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.

missing function origin info
Further information might be found in a section of the discussion page. Please remove this message when no longer necessary.


Syntax:

[Actor, Activator].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.