Skip to Content

bz_moveFlag()

Available since 2.4.0

Move the specified flag to a new location. If a player is carrying the flag, it will be dropped and then moved.

Usage

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

The ID of the flag to move

float pos[3]

The location of where to move the flag to

Returns

bool - Returns true if the flag exists or false if it does not exist

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