AddPrimitive
From GECK
A function added by the JIP NVSE Plugin.
Description
Creates and attaches a geometric primitive to the calling reference, with the specified shape and dimensions.
This function will only work on:
1. Activator-type objects - in which case the primitive will function as a cubic/spherical activator (trigger) - or
2. A CollisionMarker - in which case the primitive will function as a collision plane/box/sphere.
Syntax
(success:0/1) reference.AddPrimitive shapeType:int{1-3} boundX:float boundY:float boundZ:float
Primitive Shape Types
1 Box 2 Sphere 3 Plane (collision only)
Example
activatorRef.AddPrimitive 1 300 500 200
set rMarker to PlaceAtMe CollisionMarker 1 rMarker.AddPrimitive 3 250 0 250