X2Condition_Visibility¶
Editor: X2AbilityConditionEditor_Visibility · extends X2AbilityConditionEditor_Base.
Own fields¶
| Config field | Type | Requires | Game field | Description |
|---|---|---|---|---|
NoEnemyViewers |
bool |
SetNoEnemyViewers=true |
bNoEnemyViewers |
Fail when any enemy can see the target. |
RequireMatchCoverType |
bool |
SetRequireMatchCoverType=true |
bRequireMatchCoverType |
Require the target to be in the cover type given by TargetCover. |
RequireNotMatchCoverType |
bool |
SetRequireNotMatchCoverType=true |
bRequireNotMatchCoverType |
Require the target not to be in the cover type given by TargetCover. |
TargetCover |
ECoverType |
SetTargetCover=true |
TargetCover |
Cover type used by RequireMatchCoverType and RequireNotMatchCoverType. |
CannotPeek |
bool |
SetCannotPeek=true |
bCannotPeek |
Require the shooter to see the target from its own tile, without peeking. |
RequireLOS |
bool |
SetRequireLOS=true |
bRequireLOS |
Require line of sight. |
RequireBasicVisibility |
bool |
SetRequireBasicVisibility=true |
bRequireBasicVisibility |
Require line of sight and range. |
RequireGameplayVisible |
bool |
SetRequireGameplayVisible=true |
bRequireGameplayVisible |
Require line of sight, range and the situational gameplay-visibility rules. |
AllowSquadsight |
bool |
SetAllowSquadsight=true |
bAllowSquadsight |
Accept any squadmate's view of the target if the unit has Squadsight. Overrides RequireGameplayVisible. |
ActAsSquadsight |
bool |
SetActAsSquadsight=true |
bActAsSquadsight |
Accept any squadmate's view of the target whether or not the unit has Squadsight. Overrides RequireGameplayVisible. |
VisibleToAnyAlly |
bool |
SetVisibleToAnyAlly=true |
bVisibleToAnyAlly |
Accept the target when any squadmate can see it, without line of sight from the unit itself. Overrides RequireGameplayVisible. |
DisablePeeksOnMovement |
bool |
SetDisablePeeksOnMovement=true |
bDisablePeeksOnMovement |
Forbid peeking once the target has moved. |
ExcludeGameplayVisible |
bool |
SetExcludeGameplayVisible=true |
bExcludeGameplayVisible |
Fail when the target has gameplay visibility of the source. |
RequireGameplayVisibleTags |
array<name> |
RequireGameplayVisibleTagsMode (ENameArrayEditMode) |
RequireGameplayVisibleTags |
Visibility tags that must be present on the visibility info, such as concealed or stealthed. |