Kromster80 / kam_remake

"KaM Remake" is an RTS game remake written in Delphi from scratch.
http://www.kamremake.com
GNU Affero General Public License v3.0
361 stars 90 forks source link

Allow to handle commands written in game's chat with Dynamic Script #410

Open petrmenzel opened 7 years ago

petrmenzel commented 7 years ago

Is there any way how to set some of text sended via chat in game as DynamicEventst?

Kromster80 commented 7 years ago

No, sending text into chat from Dynamic script is not available and should not be. You can use that same script to display texts in-game.

petrmenzel commented 7 years ago

No, I mean something different. Example: Write: "add 30 logs" Events ---> add 30 logs to player Action

Kromster80 commented 7 years ago

Ah, so you are referring to taking commands from chat! That would be interesting. However that requires a lot of work, because of multiplayer and replays - all commands would need to be processed exactly the same and at exact times for all players and in replay.

reyandme commented 5 years ago

Similar feature was implemented as 'custom console commands' in my fork