Using Entity keyvalue in output

Discussion in 'Mapping Questions & Discussion' started by Penguin, Nov 6, 2018.

  1. Penguin

    aa Penguin Clinically Diagnosed with Small Mapper's Syndrome

    Messages:
    2,031
    Positive Ratings:
    1,444
    Hey all,

    Been a while, so I'm kinda rusty.

    Is it possible to use an entity's keyvalue as a value in an output it fires?

    For example, I have a logic_compare, and I want to feed its compare value (IE the difference between two values) as the value for another entity.

    Surely this must be doable... somehow.
     
  2. Fragancia

    Fragancia L2: Junior Member

    Messages:
    91
    Positive Ratings:
    32
    I don't think there's a way to pass data inside a keyvalue like how math_counter's OutValue and OnGetValue passes data to the parameter of an input... It would be extremely useful but no, as far I'm aware it's not possible.
     
  3. henke37

    aa henke37

    Messages:
    2,044
    Positive Ratings:
    490
    logic_compare does not compute a difference. You want another entity for that. If you want to do subtraction, use the math_counter entity.
     
    • Thanks Thanks x 1