Sets the currently active mode for a marker light and activates the light. The special "OFF" mode is used to deactivate the light. Resets the position in a time sequence (for blinking mode).
For more information on marker lights configuration, see Class MarkerLights in the VBS Developer Reference.
|Syntax:||markerLight setMarkerLightMode className|
_beacon = "vbs_xx_ir20_blk" createVehicle (getPos player);
|See also:||getMarkerLights, getMarkerLightMode|
- Posted on Apr 12, 2016
- Objects such as IR strobes and vehicles have marker lights which can be used to represent small lights such as indicators. This command allows the scripter to switch between modes. For example, an IR strobe may have modes such as "flash" and "pulse".