gdaws / hopmod

Automatically exported from code.google.com/p/hopmod
0 stars 0 forks source link

Need timeup and on_frag event for sudden death mode #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I need to be able to know when the time is up so I can implement sudden 
death. Here is how I envision it.

1v1 and the time is up. 
Timeup event is triggered before all other events.
During the time up event I evaluate if the score is tied.
If it is I do not end game. I leave it going without the timer progressing.
The first person to make a hit is the winner and the game ends.

So I think I will need timeup event as well as a player event on_frag. Let 
me know if this is feasible.

Unless of course you want to add this ability within the server itself. I 
still feel the events would be helpful.

Original issue reported on code.google.com by cchristo...@gmail.com on 15 Jun 2009 at 8:11

GoogleCodeExporter commented 8 years ago
Revision 919: Signal timeupdate event on time up and allow an event handler to 
alter
game time remaining.

Revision 920: Added frag event.

Original comment by graham.d...@gmail.com on 25 Jun 2009 at 12:35