Enable trigger?

Posted by John on Tue 18 Apr 2006 03:44 AM — 2 posts, 12,449 views.

Australia #0
Okay, what the heck's my error?

Syntax error
Line in error:
$world->EnableTrigger("Exit", true);

The script is in Send box with it sending to "Script", a (disabled) trigger called "Exit" and the script ennabled and set to JScript.

Thanks.
Amended on Tue 18 Apr 2006 03:45 AM by John
Australia Forum Administrator #1
There is an error in the documentation. That is the Perlscript syntax.

It should read:


world.EnableTrigger("Exit", true);


Or, more succinctly:


EnableTrigger("Exit", true);