As far I couldn't find a topic for API suggestions, I'll create this one.
I've been asking this many times but I'll just remind you if you did forget these:
- OnTextChat( IUser user, string text ) - event to receive chat texts through script, so it's called by the game. Maybe this could also have a map editor trigger, but I think it's almost useless. It gives very wide possibilities to create mods from admin plug-ins to completely different gamemodes. We could make people choose options, for example class they want to use in game. Maybe return string in this method to display something instead of what player wrote. So return ""; will prevent the message from being displayed.
- Game.SendChatText( IUser user, string text[, Color color] ) - a method to send text message to certain player ONLY. +Maybe some optional method like Game.SendChatTextToAll( string text[, Color color]). Would be awesome to use with previous one.
- OnDamaged( IObject obj, float damage[, BaseObject attacker] ) - event to process received damage to any game object. (Some interesting feature may be that if this function returns some value (true for example), it disables default behavior of processing damage - so no damage dealt to the object, or even just return float here to apply damage). This way we can handle how damage is received and make different pseudo-"health levels" or even some counters and all that stuff.
Third one is very optional (as I know how hard it's to implement at current stage).
That's all for the moment. I'll update the topic if I remember anything else.