Mod:Creation Kit/PlayTerrainEffect - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Plays a terrain effect that is attached to the specified bone of this object.

Syntax
Function PlayTerrainEffect(string asEffectModelName, string asAttachBoneName) native

Parameters

 * asEffectModelName: The name of the effects Mod:Creation Kit/Model File.
 * asAttachBoneName: The name of the bone that the effect will be attached to.

Return Value
None.

Examples
BobTheDragon.PlayTerrainEffect("effects/dragoncrash/fxdragoncrashfurrow01.nif", "dragonMoveBone")
 * Play terrain effect on Bob The Dragon (attaching to Bob The Dragon's move bone).