chromium Posted October 2, 2014 Posted October 2, 2014 Hello, I would like to know if it's possibile to write a script to use the chat for activating commands, whitout SLmod. i.e., I may like to type something in chat, and that "something" will be used by a script that will print out an answer. Thanks in advance ! Author of DSMC, mod to enable scenario persistency and save updated miz file Stable version & site: https://dsmcfordcs.wordpress.com/ Github for latest version: https://github.com/Chromium18/DSMC
ajax Posted October 3, 2014 Posted October 3, 2014 I know Servman does it in the net environment by hooking into scripting\net\main.lua. Take a look at its source code to see how it's done. I'm not sure, but I don't think you can do it in the mission-scripting environment.
chromium Posted October 3, 2014 Author Posted October 3, 2014 Ok, but this way I may use SLmod also as a source (maybe it's more complex to understand?). Then, I may have a part of the code that needs to work offline, and a small part of the code that will work online also. And It's suitable for my needs. It won't be easy :) Author of DSMC, mod to enable scenario persistency and save updated miz file Stable version & site: https://dsmcfordcs.wordpress.com/ Github for latest version: https://github.com/Chromium18/DSMC
Recommended Posts