Difference between revisions of "Script: Text"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">trigger</span> message(<span style="color:#800000">"activate"</span>) { <span style="color:#0000FF">if</span> (hasObjVar|<span style="color:...") |
(No difference)
|
Revision as of 08:18, 5 October 2018
trigger message("activate") { if (hasObjVar(this, "acttext")) { string acttext = getobjvar_str(this, "acttext"); bark(this, acttext); processTriggerCmds(this, "a"); } return (0x00); }
trigger message("deactivate") { if (hasObjVar(this, "deacttext")) { string deacttext = getobjvar_str(this, "deacttext"); bark(this, deacttext); processTriggerCmds(this, "d"); } return (0x00); }