PlayTerrainEffect - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: 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 effect model.
  • asAttachBoneName: The name of the bone that the effect will be attached to.

Return Value

None.

Examples

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

See Also