05-12-2010, 04:50 AM
A great feature to have in Xonotic would be event binds, ie when an event happens a command is triggered without having to dirty your hands in QC.
A really easy (from the user's perspective, anyway) method of implementing this would be to have events as keys, so you could use the current bind <key> <command> syntax like bind <event> <command>. You could have some of the Quake C entry points as events and some others too, which could include:
e_on_vehicle_enter, e_on_vehicle_exit, e_on_deathtype_riddled, e_on_game_exit, e_on_server_connect, e_on_server_disconnect, etc., etc..
Is this a realistic idea? Is it even worth it? Is it already implemented/planned?
A really easy (from the user's perspective, anyway) method of implementing this would be to have events as keys, so you could use the current bind <key> <command> syntax like bind <event> <command>. You could have some of the Quake C entry points as events and some others too, which could include:
e_on_vehicle_enter, e_on_vehicle_exit, e_on_deathtype_riddled, e_on_game_exit, e_on_server_connect, e_on_server_disconnect, etc., etc..
Is this a realistic idea? Is it even worth it? Is it already implemented/planned?