Search the Community
Showing results for tags 'attribute'.
Found 2 results
-
Expression not running in custom Eden attribute
Cheitan posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Quick question there, I have a custom Eden attribute defined that way : class GSRI_frigate_attribute_addWeapons { displayName="$STR_GSRI_frigate_addWeaponsTitle"; tooltip="$STR_GSRI_frigate_addWeaponsTooltip"; property="GSRI_frigate_addWeaponsProperty"; control="Checkbox"; expression="_this setVariable ['toto',_value,true]"; defaultValue="true"; }; It works just fine in Eden, as the checkbox is properly displayed with the correct name, tooltip and default value. Similarly, displaying this class with the in-game config viewer shows that the attribute is correctly added. However, when I run the mission, there is no variable "toto" in the object's namespace. I'm probably missing something very obvious but I can't put my finger on it. Any idea ? -
Is anyone else having trouble with collapsing the search function in the object type tab in the attributes window? I'm running several mods but none that alter the editor, so I doubt that's the issue here. Whenever I open attributes of a vehicle the drop down list of the search function in the object type tabe overlaps the other function, and it won't go away so I can't acces them.