Difference between revisions of "Script Function: Q5NI"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q5NI() { <span style="color:#0000FF">obj</span> pole = getObjVar|<span style="col...") |
|||
Line 13: | Line 13: | ||
{ | { | ||
location = [[Engine Function:_getObjVar|<span style="color:#FF0000;font-weight:bold">getObjVar</span>]](pole, <span style="color:#800000">"location"</span>); | location = [[Engine Function:_getObjVar|<span style="color:#FF0000;font-weight:bold">getObjVar</span>]](pole, <span style="color:#800000">"location"</span>); | ||
− | Q4Q1 = [[ | + | Q4Q1 = [[Engine Function:_teleport|<span style="color:#FF0000;font-weight:bold">teleport</span>]](pole, location); |
} | } | ||
<span style="color:#0000FF">return</span> (); | <span style="color:#0000FF">return</span> (); | ||
} | } |
Latest revision as of 07:42, 19 October 2018
function void Q5NI() { obj pole = getObjVar(this, "poleID"); obj container; loc location; int Q4Q1; if (hasObjVar(pole, "container")) { container = getObjVar(pole, "container"); Q4Q1 = putObjContainer(pole, container); } else { location = getObjVar(pole, "location"); Q4Q1 = teleport(pole, location); } return (); }