Hazard lights script (EM4)

Information: The EMERGENCY community board is completely free and is financed by advertisement. Please deactivate adblocker if you use this site. Thank you!
  • Sample script to create hazard lights in EMERGENCY 4.

    1 Hazard lights-script


    The hazard lights script activates the turn signals which are existing on every civil and emergency vehicle in EMERGENCY 4 from the beginning. Thanks to Patch 1.05, it is possible to individually activate the turn signal via command script.


    This command script only works with EMERGENCY 4 version 1.05 or higher!


    1.1 Operation


    The hazard lights script has the name "VCmdWarningLights". VCmd is my personal version of the script naming, so that one later track reserves which command is for which type intended. VCmd" - "Vehicle Commando".


    For proper function the vehicle requires only the "VCmdWarningLights" in the editor. How a command script is assigned to a vehicle is explained in the editor instructions.


    1.2 Script


    The script is available as download and as code snippet on this page. (warninglights.rar)


    1.3 Troubleshooting


    If error messages and problems occur, the author of the script can be contacted. For this, a detailed description of the fault and, optimally, a log file has to be added.


    Author: Bass-ti
    Contact: Bass-ti@ddr-mod.de
    Scriptname: WarningLights.script
    Script version: V.1.1 Date: 18.04.2006
    Notes: See below


    This hazard light script is not only used to disable the hazard lights, it is also the group leader all DUMMY scripts I write. As you can see each command script in the EMERGENCY 4 menu I had to think of something, so that one no longer sees this. So I needed a commando what each vehicle has, which has a meaningful function and at the same time is the group leader for dummies. If a group has several commands, then looks EMERGENCY 4 ever after which is the commandos group leader and displays any of the other (unless the group leader is not executable).