Populates the force by iterating all existing players and AI (excluding player neutral etc.) and adds them to force if filter returned true.
Calling GetFilterPlayer will return the current player, see Filter.
GetFilterPlayer
Filter
If you only want to iterate the force without changing it, use ForForce.
ForForce
Generated using TypeDoc
Populates the force by iterating all existing players and AI (excluding player neutral etc.) and adds them to force if filter returned true.
Calling
GetFilterPlayer
will return the current player, seeFilter
.