Jump to content
Sign in to follow this  
dimdic

How can i see if the array returned from the command "groupSelectedUnits " is empty?

Recommended Posts

How can i see if the array returned from the command "groupSelectedUnits " is empty (so in this case no units are selected!!) ??? Thank you.

Share this post


Link to post
Share on other sites

hint str count  groupSelectedUnits player

will return the number of units selected by player

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  

×