Background for Fallout 4
Member of the ObjectReference script
voidfunctionPlayTerrainEffect(stringasEffectModelName, stringasAttachBoneName)Native

Description

Wiki Description

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

Documentation Comment

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


Parameters

  1. stringasEffectModelName

    CK Wiki Description

    The name of the effects Model File.

  2. stringasAttachBoneName

    CK Wiki Description

    The name of the bone that the effect will be attached to.


Examples

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

Auto-Generated Example

string myString__asEffectModelName
string myString__asAttachBoneName

myObjectReference__toCallFunctionOn.PlayTerrainEffect(myString__asEffectModelName, myString__asAttachBoneName)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.