Difference between revisions of "LlGodLikeRezObject"

From Second Life Wiki
Jump to navigation Jump to search
(is this the way it's supposed to work? or should the function template define the type variable? since it doesn't...)
m (<lsl> tag to <source>)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#vardefine:type|function}}{{LSL_Function|func_id=135|func_sleep=0.0|func_energy=10.0
{{LSL_Function|func_id=135|func_sleep=0.0|func_energy=10.0
|inject-2={{LSL Function/position|pos|region=*}}
|func=llGodLikeRezObject|sort=GodLikeRezObject
|func=llGodLikeRezObject|sort=GodLikeRezObject
|p1_type=key|p1_name=inventory|p2_type=vector|p2_name=pos
|p1_type=key|p1_name=inventory|p2_type=vector|p2_name=pos
Line 7: Line 8:
|spec
|spec
|caveats
|caveats
|examples
|examples=
<source lang="lsl2">
// This will only work if you have the god-bit set.
key object = "a822ff2b-ff02-461d-b45d-dcd10a2de0c2"; // Our object key
vector pos = <127,127,50>; // Our object pos
llGodLikeRezObject(object, pos); // This will rez the object
</source>
|helpers
|helpers
|related
|related

Latest revision as of 10:21, 22 January 2015

  Requires God Mode

(This function can only be executed in God Mode.)

Summary

Function: llGodLikeRezObject( key inventory, vector pos );
0.0 Forced Delay
10.0 Energy

Rez directly off of UUID if owner has god-bit set.

• key inventory
• vector pos position in region coordinates

Caveats

  • This function can only be executed in God Mode.

Examples

// This will only work if you have the god-bit set.
key object = "a822ff2b-ff02-461d-b45d-dcd10a2de0c2"; // Our object key
vector pos = <127,127,50>; // Our object pos
llGodLikeRezObject(object, pos); // This will rez the object

Deep Notes

Signature

function void llGodLikeRezObject( key inventory, vector pos );