Jump to content
Sign in to follow this  
CxS

[ARMA]Array of all units

Recommended Posts

Hy how could i get array of all units, without any trigger?

I need to add script for every unit on the map...

Share this post


Link to post
Share on other sites

Write into init-line of player:

allunits = [this];

Write into the init-line of every other unit:

allunits = allunits + [this];

Easy isnt it

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  

×