PlayTerrainEffect - ObjectReference

From the CreationKit Wiki
Revision as of 13:53, 11 November 2011 by imported>Scornett (Reverted edits by Scornett-Bot (talk) to last revision by Jlundin)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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")

See Also[edit | edit source]