- Joined
- Mar 19, 2010
- Messages
- 870
Hi,
which is the best way to count units on the entire map by a specific player + the possibility to filter some units.
Example:
I want the number of units of player 8 but 1-2 unit-types of player 8 i don't want to count. I mean...
Player 8 has 10 Soldiers and 2 Rifleman. But the 2 rifleman i don't want to count.
the function should in the case return 10
How can i do this and leak-free???
Reg.
which is the best way to count units on the entire map by a specific player + the possibility to filter some units.
Example:
I want the number of units of player 8 but 1-2 unit-types of player 8 i don't want to count. I mean...
Player 8 has 10 Soldiers and 2 Rifleman. But the 2 rifleman i don't want to count.
the function should in the case return 10
How can i do this and leak-free???
Reg.
Last edited by a moderator: