Difference between revisions of "Script: Floor crumble"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">trigger</span> enterrange(0x00) { <span style="color:#0000FF">loc</span> Q648 = 0x1450, 0x028C, 0x00; setType|<span style="color:#FF0000;...") |
|||
Line 4: | Line 4: | ||
[[Engine Function:_setType|<span style="color:#FF0000;font-weight:bold">setType</span>]](this, 0x11C0); | [[Engine Function:_setType|<span style="color:#FF0000;font-weight:bold">setType</span>]](this, 0x11C0); | ||
[[Engine Function:_callback|<span style="color:#FF0000;font-weight:bold">callback</span>]](this, 0x01, 0x01); | [[Engine Function:_callback|<span style="color:#FF0000;font-weight:bold">callback</span>]](this, 0x01, 0x01); | ||
− | <span style="color:#0000FF">if</span> (![[ | + | <span style="color:#0000FF">if</span> (![[Engine Function:_teleport|<span style="color:#FF0000;font-weight:bold">teleport</span>]](target, Q648)) |
{ | { | ||
<span style="color:#0000FF">return</span> (0x00); | <span style="color:#0000FF">return</span> (0x00); |
Latest revision as of 07:37, 19 October 2018
trigger enterrange(0x00) { loc Q648 = 0x1450, 0x028C, 0x00; setType(this, 0x11C0); callback(this, 0x01, 0x01); if (!teleport(target, Q648)) { return (0x00); } return (0x01); }
trigger callback(0x01) { setType(this, 0x11BF); return (0x00); }