avenger___ Posted July 11, 2016 Report Share Posted July 11, 2016 As someone that's trying to combine both of their hobbies (Programming, Emergency 4) i would like to ask some questions: 1 - Are there any IDE's for Emergency 4 Scripting? 2 - Are there any Documentation? 3 - Is Emergency 4 Scripting Language really like C++? 4 - How do i attach the .script file to a vehicle/person? That's all for now, Thanks! Quote Link to comment Share on other sites More sharing options...
itchboy Posted July 11, 2016 Report Share Posted July 11, 2016 2 hours ago, avenger___ said: No IDE exists for Em4. To edit code, you can only use notepad, or any other basic text editor. Documentation is here, but it is in German language. http://www.emergency-wiki.de/de:emergency:emergency_4:scripting:sdk Em4 scripting is C++ I believe. You can create classes, strutcs and new variables in any of the codes, as long as you can get it right. Scripts arent really 'attached' to persons. In the Em4 editor, you can assign commands (contained within the .script file) to a specific playable unit. Quote Link to comment Share on other sites More sharing options...
avenger___ Posted July 11, 2016 Author Report Share Posted July 11, 2016 Thanks for answering my questions! I was just trying to modify some scripts to get a hang of it, and a question came up: 1 - How can i set up an event, like an accident or etc? Quote Link to comment Share on other sites More sharing options...
itchboy Posted July 11, 2016 Report Share Posted July 11, 2016 Events and accidents are not setup using code or script. You need to go into the editor, then enter the freeplay map and add incidents there. Quote Link to comment Share on other sites More sharing options...
TheAxeMan33 Posted July 12, 2016 Report Share Posted July 12, 2016 Here's how to add car accidents, enjoy. Quote Link to comment Share on other sites More sharing options...