Jump to content
TJ____

how to get aliveplayer in specific side

Recommended Posts

hi guys  I want get alive player from opfor side

I can get allplayer number dead or alive but I don't figure out get alive player only

 

west countSide {allplayers select(alive _x)} 

 

here's my code

 

 

Share this post


Link to post
Share on other sites

Close but brackets around alive _x are incorrect. Try this:

{alive _x && side _x == opfor} count allPlayers

This will return number of alive opfor players.

Share this post


Link to post
Share on other sites
5 hours ago, TJ____ said:

hi guys  I want get alive player from opfor side

I can get allplayer number dead or alive but I don't figure out get alive player only

 

west countSide {allplayers select(alive _x)} 

 

here's my code

 

 

 

Near 🙂

EAST countSide (allPlayers select {alive _x}) for the syntax... but the selection is useless

 

Just: EAST countSide allPlayers   will do the trick. When a player dies, or unconscious before respawn , he falls into civilian side.

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

×