Skip to content

llRezAtRoot

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

Instantiate owner's InventoryItem at Position with Velocity, Rotation and with StartParameter. The last selected root object's location will be set to Position.

Creates object's inventory item at the given Position, with Velocity, Rotation, and StartParameter.

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

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

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