API_DOCS: Flag Drop and Grab Message

Questions, comments, and news on the server side plug-ins and it's API
Post Reply
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

API_DOCS: Flag Drop and Grab Message

Post by JeffM »

A new event was added to 2.1 for flag drops and grabs

Code: Select all

 bz_eFlagDroppedEvent 

Code: Select all

 bz_bz_eFlagGrabbedEvent
They are called whenever the server is notified of a droped or grabbed flag.
The event will contain a bz_FlagDroppedEvenData_V1 or bz_FlagGrabbedEventData_V1 object respectivly.
it has the playerID, the flagID, the flag droped, and the position the flag was dropped at.

The Grabbed event will also take a shot type.
ImageJeffM
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

These events have been backported to the 2.0.x branch.
The grabbed event does NOT have a shot type in the 2.0.x version.
ImageJeffM
Post Reply