Display Module as Logical I/O

    Joined
    Jun 30, 2013
    Messages
    351
    Reaction score
    347
    • Community Content - Silver 1
    • Purchased!
    • Legacy Citizen 4
    1. Proposed: That the display module act as a linkable conditional switch based on the evaluation of a Boolean expression.
    Examples:
    eval: [structureHpPercent] < 20 :: true while [structureHpPercent] is less than 20.
    eval: [docked] = "docked" :: true while the structure is docked.
    eval: [speed] > 0 :: true while the structure is moving.


    2. Proposed: That upon logical activation, the display module should have the ability to display arbitrary strings to the chat window or main UI of players.
    Examples:
    echo: core chat "Shields failing" :: prints "Shields failing" in the chat window of the pilot.
    echo: structure ui "Core Breach Imminent!" :: Prints "Core Breach Imminent!" in the center UI of all astronauts aligned to the structure.
    echo: faction ui "Mayday! [name] has been disabled at [structureHpPercent] in [system] at [sector]"

    3. Proposed: Display modules logically slaved to a controller should be able to evaluate or display variables from that system.
    Example:
    [systemChargePercent] displays scanner or jump module charge or weapon/system cool-down state as a percentage.
     

    Valiant70

    That crazy cyborg
    Joined
    Oct 27, 2013
    Messages
    2,189
    Reaction score
    1,168
    • Thinking Positive
    • Purchased!
    • Legacy Citizen 4
    1. Proposed: That the display module act as a linkable conditional switch based on the evaluation of a Boolean expression.
    Examples:
    eval: [structureHpPercent] < 20 :: true while [structureHpPercent] is less than 20.
    eval: [docked] = "docked" :: true while the structure is docked.
    eval: [speed] > 0 :: true while the structure is moving.


    2. Proposed: That upon logical activation, the display module should have the ability to display arbitrary strings to the chat window or main UI of players.
    Examples:
    echo: core chat "Shields failing" :: prints "Shields failing" in the chat window of the pilot.
    echo: structure ui "Core Breach Imminent!" :: Prints "Core Breach Imminent!" in the center UI of all astronauts aligned to the structure.
    echo: faction ui "Mayday! [name] has been disabled at [structureHpPercent] in [system] at [sector]"

    3. Proposed: Display modules logically slaved to a controller should be able to evaluate or display variables from that system.
    Example:
    [systemChargePercent] displays scanner or jump module charge or weapon/system cool-down state as a percentage.
    YAAAAAAAAAAAAASSSSSSS!!!
     
    • Like
    Reactions: alterintel