Difference between revisions of "Script: Multiupdate"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">inherits</span> globals; <span style="color:#0000FF">trigger</span> creation { multiCompSetSendSlave|<span style="color:#FF0000;font-w...") |
|||
Line 10: | Line 10: | ||
<span style="color:#0000FF">trigger</span> callback(0x37) | <span style="color:#0000FF">trigger</span> callback(0x37) | ||
{ | { | ||
− | <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>]](this, [[Engine Function:_getLocation|<span style="color:#FF0000;font-weight:bold">getLocation</span>]](this)); |
[[Engine Function:_detachScript|<span style="color:#FF0000;font-weight:bold">detachScript</span>]](this, <span style="color:#800000">"multiupdate"</span>); | [[Engine Function:_detachScript|<span style="color:#FF0000;font-weight:bold">detachScript</span>]](this, <span style="color:#800000">"multiupdate"</span>); | ||
<span style="color:#0000FF">return</span> (0x01); | <span style="color:#0000FF">return</span> (0x01); | ||
} | } |
Latest revision as of 07:27, 19 October 2018
inherits globals;
trigger creation { multiCompSetSendSlave(this, 0x01); shortCallback(this, 0x01, 0x37); return (0x01); }
trigger callback(0x37) { int Q5NC = teleport(this, getLocation(this)); detachScript(this, "multiupdate"); return (0x01); }