Page 1 of 1

API_DOCS: Shot End Event

Posted: Fri Feb 02, 2007 8:47 pm
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

Posted: Sat Feb 03, 2007 1:02 am
by Theme97
Is it possible to include the position?

Posted: Mon Feb 05, 2007 6:20 pm
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.