SetCollisionObjLayerType

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Sets the layer type of the collision object (if any) attached to the specified node in the calling reference's loaded 3D model.

  • Alternatively, an asterisk "*" may be passed as the node name, in which case the layer type will be set for any child node of the reference's node that has collision.

Syntax

[help]
reference.SetCollisionObjLayerType nodeName:string layerType:int{1-42}

Example

objectRef.SetCollisionObjLayerType "TumbleweedNV" 15
objectRef.SetCollisionObjLayerType "*" 15 

See Also