Page MenuHomeFeedback Tracker

Status Indicator Light/LED for Scripting
New, WishlistPublic

Description

A simple LED style light that can be used to indicate the condition of a system. Previously, mission creators were mostly limited to the "hint box" which does not lend itself to immersion.

Possible lit conditions could include but are not limited to "green", "red", and "off" (Emitting their respective colors). "Off" being the default condition.

This assumes the need for a new scripting command that would set the condition of the light, such as "setLED".

Perhaps various sized lights could be included for different applications.
Blinking and pulsing conditions would be welcome as well. {F23610}

Details

Legacy ID
2131377104
Severity
None
Resolution
Open
Reproducibility
N/A
Category
Feature Request
Steps To Reproduce

Place the LED object within the mission editor and give it a name, such as "led_1".
Place a switch type trigger with an activation parameter of your choice.
In the "On Act." field of the trigger, insert:
led_1 setLED "green";

This will cause the LED to emit green light to indicate that the trigger has been fired.
This is a very simple, proof of concept, example.

Additional Information

Combined with the "attachTo" command, this would allow mission creators to dream up a vast number of new ways to communicate information to a user simply and effectively.

Event Timeline

Bohemia edited Steps To Reproduce. (Show Details)Mar 30 2014, 11:45 PM
Bohemia edited Additional Information. (Show Details)
Bohemia set Category to Feature Request.
Bohemia set Reproducibility to N/A.
Bohemia set Severity to None.
Bohemia set Resolution to Open.
Bohemia set Legacy ID to 2131377104.May 7 2016, 6:18 PM

Maybe I'm not getting your point but do you basically want to display trigger states using a colored lightsource in game?
This would be possible to do with simple scripts.

Bohemia added a subscriber: Bohemia.May 7 2016, 6:18 PM

It's use is not intended entirely for triggers but geared more towards use in scripting where the creator would use variables to set the state of the light. My lack of knowledge on creating a light source and object models, at the moment, bars me from creating my own in mod to facilitate this. I felt like it would be a useful tool for mission makers that "might" be simple to implement and would properly use the game lighting engine.