Jump to content

Recommended Posts

Posted

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 !

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Posted

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.

Posted

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 :)

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...