Difference between revisions of "Script Function: Q5AA"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q5AA(<span style="color:#0000FF">obj</span> corpse) { <span style="color:#0000FF">l...") |
|||
Line 13: | Line 13: | ||
<span style="color:#0000FF">else</span> | <span style="color:#0000FF">else</span> | ||
{ | { | ||
− | <span style="color:#0000FF">int</span> Q5NC = [[ | + | <span style="color:#0000FF">int</span> Q5NC = [[Engine Function:_teleport|<span style="color:#FF0000;font-weight:bold">teleport</span>]](Q61K, [[Engine Function:_getLocation|<span style="color:#FF0000;font-weight:bold">getLocation</span>]](corpse)); |
} | } | ||
} | } |
Latest revision as of 07:44, 19 October 2018
function void Q5AA(obj corpse) { list Q4E4; getContents(Q4E4, corpse); int num = numInList(Q4E4); for(int i = 0x00; i < num; i++) { obj Q61K = Q4E4[i]; if (isHair(Q61K)) { deleteObject(Q61K); } else { int Q5NC = teleport(Q61K, getLocation(corpse)); } } deleteObject(corpse); return (); }