bz_getNearestFlagSafetyZone()
Available since 2.4.20
If a safety zone is found for a flag, then the coordinates within said safety zone are stored in the pos pointer. This function returns true if a safety zone was successfully found.
Usage
bool bz_getNearestFlagSafetyZone(int flagID, float pos[3])
| Parameters | ||
|---|---|---|
| int |
flagID
|
The ID of the flag to get a safety zone for |
| float |
pos[3]
|
A pointer |
Returns
bool
Other Flag Management Functions
This content is maintained on GitHub. We welcome any feedback and improvements!