Jump to content
Sign in to follow this  
ADuke

Count units in Player's group

Recommended Posts

Hi,

In my script I have added a waypoint, within that waypoint's condition is this..

{_x in vehicle this} count units group player == count units group player

I have also tried.....

{_x in (vehicle this)} count units group player == count units group player

But, when all unit's within the player's group are in the vehicle, the vehicle does not move.

Note:

This Thread was not posted in the Mission Editing and Scripting section due to the fact that this script is executed via an eventhandler within a unit's config, and not in a mission.

Because of this I have to use global variables.

I do it that way so I do not have to edit the THOUSANDS of missions that myself and my friends play together.

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  

×