![]() ![]() The expression is saved to the scenario file together with value, which makes it independent on the addon which introduced the attribute. It is a code called at the scenario start, and it is purpose is to apply the attribute's value. But its condition makes sure only characters have it available.Īttribute functionality is determined by its expression property. For example rank attribute is shared by every object, be it a character, a vehicle or a prop. ![]() Optional conditions can be applied to show the attribute only for limited subset of entities. General attributes are available for all entity classes of given type. ![]() └ Attribute - setting itself, represented by tailored user interface. Used only for sorting in the window, has no effect on the scenario. In user interface, this is the whole attributes window. Can be an entity, a scenario or editor preferences. Owner - defines what does the attribute set. You cannot access them in scenario preview or exported scenario!Ī scripted expression is used to apply their values in the scenario (see below).Īttributes are configured and presented in the following structure: Modders can also add completely new attributes and decide how will they appear in the attribute window and what scripted functionality will they execute in the scenario.Īttributes can be added for general entity type (e.g., shared by all objects) or for specific entity types (e.g., just for BLUFOR Rifleman).Īn entity type can also override default values of general attributes (e.g., story character can have customized name and rank).Īttributes are available only within the Eden Editor workspace. Major engine-driven attributes are already present in the default Editor and can be modified to a degree. For example position object attribute tells engine where to create the object, and respawn scenario attributes determines what rule set will be used when players respawn.Įach attribute is configured in the global Config.cpp. BIS_fnc_3DENExportSQFĪ scenario and each entity in it are defined by their attributes.Īn attribute is a value customizable by the user, and it has some function tied to it. 2.1.2 Complex Attribute Expressions vs. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |