Jump to content
Sign in to follow this  

Group management in scripts

Recommended Posts

I'd like, in a script, to create a variable that regroup many differents units and use only one of these units according to a condition and use the rest for another task.

It'd be somethin like that


_groups = [west1, west2, west3]

ask which of these units are out of ammo

then make the unit that has been found to go to look for more ammo

make the rest to go at _Xpos



I hope I was clear and accurate in my description

Thanks for your attention

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