POLPOX 779 Posted April 17, 2019 The goal: Add a button in the Context Menu of Eden Editor That only appears if you opened on certain object type Tried to do something on conditionShow, but looks no luck. Something I wish to do (Not actual config): class CfgVehicles { class ObjectA { CustomConditionVariable = 0; }; class ObjectB { CustomConditionVariable = 1; }; }; class ctrlMenu; class Display3DEN { class ContextMenu: ctrlMenu { class Items { class Transform { items[] += { "Something" }; }; class Something { text = *Title*; action = *Some action* ; conditionShow = "selectedObject * (1 - CustomConditionVariable)"; }; }; }; }; And if you open the Context Menu on typeOf == ObjectA, the button appears. Is there anyway to add variables to the Simple Experssion? Share this post Link to post Share on other sites