Difference between revisions of "Script: Crtwall"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">inherits</span> spelskil; <span style="color:#0000FF">trigger</span> callback(0x2E) { <span style="color:#0000FF">int</span> newType = [...") |
(No difference)
|
Latest revision as of 07:43, 5 October 2018
inherits spelskil;
trigger callback(0x2E) { int newType = getObjVar(this, "newType"); setType(this, newType); int Q67X = getObjVar(this, "walltype"); int Q67U = getObjVar(this, "walldur"); switch (Q67X) { case 0x00 attachScript(this, "ff_trig"); break; case 0x01 attachScript(this, "pf_trig"); break; case 0x02 attachScript(this, "paf_trig"); break; case 0x03 attachScript(this, "ef_trig"); break; case 0x04 attachScript(this, "sf_trig"); break; } attachScript(this, "destroy"); callback(this, Q67U, 0x1E); return (0x00); }