Skip to Content

bz_getFlagPosition()

Available since 2.4.0

Get the position for a flag from its ID.

The pos[3] parameter is a pointer to a float array and the method will write to this pointer.

Usage

bool bz_getFlagPosition(int flagID, float pos[3])
Parameters
int flagID

The ID of the flag to get information for

float pos[3]

A pointer

Returns

bool - Returns false if the given flag ID was invalid

Other Flag Management Functions

Back to bzfs API Functions

This content is maintained on GitHub. We welcome any feedback and improvements!

Give us Feedback Edit this Page