Arma Reforger Script API
|
Public Member Functions | |
sealed bool | CanSetParent (SCR_EditableEntityComponent parentEntity, EEditableEntityInteractionFlag interactionFlags=int.MAX) |
Check if the entity can be moved to intended parent. | |
bool | CanSetParent (EEditableEntityType parentType, EEditableEntityFlag parentFlags, EEditableEntityInteractionFlag interactionFlags=int.MAX) |
Check if the entity can be moved to a parent with given params. | |
bool | CanSetParent (SCR_EditableEntityComponent parentEntity, EEditableEntityType parentType, EEditableEntityFlag parentFlags, EEditableEntityInteractionFlag interactionFlags=int.MAX) |
Check if the entity can be moved to a parent with given params. | |
bool | CanCreateParentFor (EEditableEntityType newLayerType, EEditableEntityFlag newLayerFlags, SCR_EditableEntityComponent parentEntity, bool CheckParentEntity=true) |
Check if new layer can be created for entity. | |
Static Public Attributes | |
static const int | ROOT = -1 |
Protected Attributes | |
bool | m_bCanRefParent |
bool SCR_EditableEntityInteraction.CanCreateParentFor | ( | EEditableEntityType | newLayerType, |
EEditableEntityFlag | newLayerFlags, | ||
SCR_EditableEntityComponent | parentEntity, | ||
bool | CheckParentEntity = true |
||
) |
Check if new layer can be created for entity.
EEditableEntityType | new layer type |
newLayerFlags | new layer m_Flags |
parentEntity | parent entity |
CheckParentEntity | if should check if new layer can be added to parent |
bool SCR_EditableEntityInteraction.CanSetParent | ( | EEditableEntityType | parentType, |
EEditableEntityFlag | parentFlags, | ||
EEditableEntityInteractionFlag | interactionFlags = int::MAX |
||
) |
Check if the entity can be moved to a parent with given params.
parentType | Type of the new parent, use SCR_EditableEntityInteraction.ROOT if it§s root of editable entities. |
parentFlags | Flags of the new parent \params interactionFlags Flags defining details about the interaction (all are enabled if undefined) |
Implemented in SCR_EditableWaypointInteraction, SCR_EditableCharacterInteraction, and SCR_EditableGroupInteraction.
sealed bool SCR_EditableEntityInteraction.CanSetParent | ( | SCR_EditableEntityComponent | parentEntity, |
EEditableEntityInteractionFlag | interactionFlags = int::MAX |
||
) |
Check if the entity can be moved to intended parent.
parentEntity | New parent. Null when evaluating root. \params interactionFlags Flags defining details about the interaction (all are enabled if undefined) |
bool SCR_EditableEntityInteraction.CanSetParent | ( | SCR_EditableEntityComponent | parentEntity, |
EEditableEntityType | parentType, | ||
EEditableEntityFlag | parentFlags, | ||
EEditableEntityInteractionFlag | interactionFlags = int::MAX |
||
) |
Check if the entity can be moved to a parent with given params.
Only called if m_bCanRefParent is set to true
parentEntity | New parent. Null when evaluating root. |
parentType | Type of the new parent, use SCR_EditableEntityInteraction.ROOT if it§s root of editable entities. |
parentFlags | Flags of the new parent \params interactionFlags Flags defining details about the interaction (all are enabled if undefined) |
Implemented in SCR_EditableAttachableEntityInteraction.
|
protected |
|
static |