SetCollisionObjLayerType
From GECK
A function added by the JIP NVSE Plugin.
Contents
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
reference.SetCollisionObjLayerType nodeName:string layerType:int{1-42}
Example
objectRef.SetCollisionObjLayerType "TumbleweedNV" 15
objectRef.SetCollisionObjLayerType "*" 15