API_DOCS: Shot End Event

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: Shot End Event

Post by JeffM »

I have added an event for shot end

Code: Select all

bz_eShotEndedEvent
Will send be called each time the server knows about a shot ending.

the event data for is as follows;

Code: Select all

[b]Version 2.0.x[/b]
bz_ShotEndedEventData

[b]Version 2.1.x[/b]
bz_ShotEndedEventData_V1

containing:

	int playerID;   // player who's shot ended
	int shotID;      // shot that ended
	bool exlpode;  // if the shot was meant to explode ( true all the time for now )

This is in CVS for both branches, as of now
ImageJeffM
Theme97
Private First Class
Private First Class
Posts: 221
Joined: Fri Nov 11, 2005 8:04 pm
Contact:

Post by Theme97 »

Is it possible to include the position?
Image
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

the position is not sent in the message, and at this time the server does not track the full shot path. So no, there is no easy way to do the position.
ImageJeffM
Post Reply