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 moveFlag: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Zehra (talk | contribs)
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_moveFlag( int flag, float pos[3] );
==Parameters==
{| border="1" cellpadding="20" cellspacing="0"
  !name
  !type
  !value description
  |-
  |flag
  |int
  |the flag to move
  |-
  |pos
  |float [3]
  |the position to move the flag to.
  |}
 
==Description==
This API function moves the specified flag. If the flag is carried, it will be dropped. If reset is true, the flag is also "zapped" to the new location ( ring graphical effect).
 
==Notes==
Prior to BZFlag Version 3.0 this function did not have the '''reset''' paramater, and always behaved as if it was true.

Latest revision as of 03:43, 10 November 2025