The lightOn/lightOff action allows a vehicle's headlights to be turned on and off from a script. It would be nice if this action was also able to turn on/off a flashlight or IR pointer attached to the player's weapon. E.g.
gameLogic action ["lightOn", player]; // turn on flashlight / IR pointer
In my case I need it to restore the state of the flashlight after replacing the weapon with a removeWeapon/addWeapon sequence (which currently results in the flashlight being turned off).