PlayTerrainEffect - ObjectReference
Revision as of 13:53, 11 November 2011 by imported>Scornett (Reverted edits by Scornett-Bot (talk) to last revision by Jlundin)
Member of: ObjectReference Script
Plays a terrain effect that is attached to the specified bone of this object.
SyntaxEdit
Function PlayTerrainEffect(string asEffectModelName, string asAttachBoneName) native
ParametersEdit
- asEffectModelName: The name of the effect model.
- asAttachBoneName: The name of the bone that the effect will be attached to.
Return ValueEdit
None.
ExamplesEdit
; Play terrain effect on Bob The Dragon (attaching to Bob The Dragon's move bone).
BobTheDragon.PlayTerrainEffect("effects/dragoncrash/fxdragoncrashfurrow01.nif", "dragonMoveBone")