MantisBT - Zandronum
View Issue Details
0002677Zandronum[All Projects] Suggestionpublic2016-03-21 22:272016-03-25 17:11
AlexMax 
Torr Samaho 
normalfeatureN/A
feedbackopen 
 
 
0002677: GAMEEVENT_PLAYERFRAGS for flag carrier
Would it be possible to extend the GAMEEVENT_PLAYERFRAGS event to pass an additional boolean argument if they drop a game objective, like a flag? Or is there some way to do this already that I'm missing?
No tags attached.
Issue History
2016-03-21 22:27AlexMaxNew Issue
2016-03-22 01:56CatastropheNote Added: 0014603
2016-03-25 17:11Torr SamahoNote Added: 0014606
2016-03-25 17:11Torr SamahoAssigned To => Torr Samaho
2016-03-25 17:11Torr SamahoStatusnew => feedback

Notes
(0014603)
Catastrophe   
2016-03-22 01:56   
To be honest I think it'd be kind of a waste using an argument on PLAYER_FRAGS for this, instead maybe a new game event for this scenario would be better?
(0014606)
Torr Samaho   
2016-03-25 17:11   
Using an argument of PLAYER_FRAGS sounds too specialized, but we could surely add a "flag dropped" event.

Note that there already should be a way to check if a player fragged a flag carrier: If this happens, the player gets a Defense medal (unless medals are turned off). This triggers GAMEEVENT_MEDALS, which you can catch and handle accordingly.