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.
Syntax[edit | edit source]
Function PlayTerrainEffect(string asEffectModelName, string asAttachBoneName) native
Parameters[edit | edit source]
- asEffectModelName: The name of the effect model.
- asAttachBoneName: The name of the bone that the effect will be attached to.
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Play terrain effect on Bob The Dragon (attaching to Bob The Dragon's move bone).
BobTheDragon.PlayTerrainEffect("effects/dragoncrash/fxdragoncrashfurrow01.nif", "dragonMoveBone")