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

From BZFlagWiki
Jump to navigation Jump to search
Zehra (talk | contribs)
redirect, since events are in official docs
Tag: New redirect
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{BZFS_API_Doc}}
#REDIRECT [[Category:BZFS API Docs]]
{{BZFS_API_Events}}
 
==Overview==
The '''bz_eFlagDroppedEvent''' is an API event that is called each time a flag is drooped by a player.
 
==Data==
As of version 2.1 of BZFS the event callback will contain the bz_FlagDroppedEventData_V1 data class.
This class contains the following data members
 
* eventType    ( always bz eFlagDroppedEvent )
* playerID    ( the player that dropped the flag )
* flagID      ( the flag ID that was dropped )
* pos[3]      ( the postion the flag was dropped at )
 
==Uses==
This event is a notification only event, none of the data returned can be changed. If the plug-in wishes to change the spawning position of a flag it should use the [[bz_eFlagResetEvent]]
 
[[Category:BZFS_API_Docs]]
[[Category:BZFS_API_Events]]

Latest revision as of 03:47, 5 November 2025