Skip to content

llRezObject

function ll.RezObject(InventoryItem: string, Position: vector, Velocity: vector, Rotation: quaternion, StartParameter: number)

Instantiate owners InventoryItem at Position with Velocity, Rotation and with start StartParameter.

Creates object's inventory item at Position with Velocity and Rotation supplied. The StartParameter value will be available to the newly created object in the on_rez event or through the llGetStartParameter function.

The Velocity parameter is ignored if the rezzed object is not physical.

Parameters
InventoryItem (string)
Position (vector)
Velocity (vector)
Rotation (quaternion)
StartParameter (number)

Add example usage here showing SLua/Luau syntax with ll.RezObject().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.