This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Bz getFlagPosition: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
New page: {{BZFS_API_Doc}} {{BZFS_API_Funcs}} ==Prototype== BZF_API bool bz_getFlagPosition ( int flag, float* pos ); ==Parameters== {| border="1" cellpadding="20" cellspacing="0" !name !type ...
 
Zehra (talk | contribs)
redirect, since functions are in official docs
Tag: New redirect
 
Line 1: Line 1:
{{BZFS_API_Doc}}
#REDIRECT [[Category:BZFS API Docs]]
{{BZFS_API_Funcs}}
==Prototype==
BZF_API bool bz_getFlagPosition ( int flag, float* pos );
==Parameters==
{| border="1" cellpadding="20" cellspacing="0"
  !name
  !type
  !value description
  |-
  |playerId
  |int
  |the flag to return
  |-
  |pos
  |float [3]
  |an array of floats to fill in with the position.
  |}
 
==Description==
This API function fill out the '''pos''' parameter with the position of the specified flag and return true. If the specified flag ID is invalid, the function will return false.

Latest revision as of 03:20, 24 November 2025