Jump to content
Sign in to follow this  
Major_Dandelion

Running script for all units inside trigger

Recommended Posts

Hi,

Once I was pretty good at editing/scripting, but after not playing ArmA2 for 6 months, I seem to have stumbled on a very simple problem.

I got a trigger which should execute a script for every unit that crosses it, but I can't seem to get it working.

In activation :

{nul = [_x] execVM "myscript.sqf"} foreach units thislist;

What's wrong with that? I'm getting really confused, I could do these things before :D Even a simple

{_x setdammage 1} foreach units thislist;

won't work

Something new on AO (which I just bought and love) or just me being dumb/forgetful?

Thanks!

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  

×