ForForce
- Parameters
whichForce forcecallback code- comment
Executes a callback function for every player in a given force. Within the callback, calling
GetEnumPlayerreturns the player of the current iteration.- note
The iteration order is given by the player id, ascending (e.g.,
Player(3), thenPlayer(7), thenPlayer(15)) regardless in which order the players were added to the force.- patch
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
nothing- Source code
native ForForce takes force whichForce, code callback returns nothing