Eden Editor: Custom Connections: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Since {{GVI|Arma3|2.10}} it is possible to create custom connections. {{Wiki|WIP}} = Config = <syntaxhighlight lang="cpp">class Cfg3DEN { class Connections {...") |
m (added cat) |
||
Line 41: | Line 41: | ||
|- | |- | ||
|} | |} | ||
[[Category:Eden Editor: Modding|Custom Connections]] |
Revision as of 09:36, 1 May 2022
Since 2.10 it is possible to create custom connections.
Config
class Cfg3DEN
{
class Connections
{
class TAG_CustomConnection
{
displayName = "Set Custom Connection";
condition1 = "marker";
condition2 = "objectEmpty * objectAI";
property = "TAG_CustomConnection";
color[] = {1,0,1,1};
cursor = "3DENConnectSync";
expression = "hint str [_this,_target];";
};
};
};
Properties
Property | Description | Data type |
---|---|---|
displayName | Display name of the connection shown in the context menu | String |
condition1 | Simple expression | String |
condition2 | Simple expression | String |
property | Custom property name. Must be unique | String |
color[] | Colour | Array |
cursor | Cursor that is shown when connecting entities | String |
expression | _this is array of source entities, _target is target entity. Expression is called on the server. After all other entity expressions. | String |