Jump to content
Sign in to follow this  
anessen

Trigger activation - passing a reference to the trigger?

Recommended Posts

Hi

In the trigger activation code, is it possible to get a reference to the trigger itself?

I tried "this", doesn't seem to work:

[this] execVM "dosomething.sqf"; //Just gives me "ANY"

The idea is that I want to modify the trigger activation and statements in the script that it calls.

Share this post


Link to post
Share on other sites

thistrigger may work, all one word

also you can name the trigger and use that.

also if you name the trigger you can also use list

list triggername

will return units found when the trigger activated

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×