void main() { // Start Perem talking object oPerem = GetObjectByTag ("PEREM"); int bStarted = GetLocalInt (oPerem, "STARTED"); if (!bStarted) { // Make sure the trigger is only activated once SetLocalInt (oPerem, "STARTED", TRUE); // Get the Wizard to start the action !! SetLocalInt (oPerem, "STATE", 90); } }