trigger {triggerword}
This simple command can be used to send out any trigger word.
trigger wish
This is handy if you want to test a reaction or trigger a reaction sometime in the future.
Lets see this in action:
create a mouse
create a mouse
script it to squeak as a reaction to a 'prompt'
if reacting to prompt then squeekme;
##squeekme: call "do squeeks";
Now to test it, prompt it like this trigger prompt
Now you can script another object to do a time-delay prompt in 1 minute like this:
call "trigger prompt",60;
Once this script has been run, the prompt will happen in 60 seconds and the mouse will squeak.
(note to self.. test the above code)
Scripting notes:
This sends out whatever word you put after it as a trigger word.