Page MenuHomeFeedback Tracker

ID and IDParent of the Task Create Module should be unique
New, NormalPublic

Description

The attribute ID and IDParent should be unique, meaning that this value can only exist once in the mission. Otherwise duplications can cause tasks not to work properly.

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Eden Editor
Additional Information
class ID: Edit
{
    property = "ModuleTaskCreate_F_ID";
    displayName = "Task ID";
    tooltip = "Unique task ID used to refer to this task. When empty, module variable name will be used. If even that one is undefined, generic name will be used by default.";
    control = "EditShort";
    **unique = 1; // When 1, only one entity of the type can have the value in the mission (used for example for variable names or player control)**
};
class IDParent: Edit
{
    property = "ModuleTaskCreate_F_IDParent";
    displayName = "Parent Task ID";
    tooltip = "ID of the parent task. When empty, the task will have no parent and will be shown in root.";
    control = "EditShort";
    **unique = 1; // When 1, only one entity of the type can have the value in the mission (used for example for variable names or player control)**
};

Event Timeline

R3vo created this task.Apr 15 2017, 9:56 AM
R3vo edited Additional Information. (Show Details)Apr 15 2017, 9:59 AM
R3vo edited Additional Information. (Show Details)