Enum ConditionFlag
Possible state flags (or conditions as they're called internally) that can be set on the local client.
These come from LogMessage (somewhere) and directly map to each state field managed by the client. As of 5.25, it maps to LogMessage row 7700 and onwards, which can be checked by looking at the Condition sheet and looking at what column 2 maps to.
The first 24 conditions are the local players CharacterModes.
Assembly: Dalamud.dll
public enum ConditionFlag
Fields
None
Unused.
None = 0
NormalConditions
Unable to execute command under normal conditions.
NormalConditions = 1
Unconscious
Unable to execute command while unconscious.
Unconscious = 2
Emoting
Unable to execute command during an emote.
Emoting = 3
Mounted
Unable to execute command while mounted.
Mounted = 4
Crafting
Unable to execute command while crafting.
Crafting = 5
Gathering
Unable to execute command while gathering.
Gathering = 6
MeldingMateria
Unable to execute command while melding materia.
MeldingMateria = 7
OperatingSiegeMachine
Unable to execute command while operating a siege machine.
OperatingSiegeMachine = 8
CarryingObject
Unable to execute command while carrying an object.
CarryingObject = 9
RidingPillion
Unable to execute command while mounted.
RidingPillion = 10
Mounted2
Unable to execute command while mounted.
[Obsolete("Renamed to RidingPillion", true)]
Mounted2 = 10
InThatPosition
Unable to execute command while in that position.
InThatPosition = 11
ChocoboRacing
Unable to execute command while chocobo racing.
ChocoboRacing = 12
PlayingMiniGame
Unable to execute command while playing a mini-game.
PlayingMiniGame = 13
PlayingLordOfVerminion
Unable to execute command while playing Lord of Verminion.
PlayingLordOfVerminion = 14
ParticipatingInCustomMatch
Unable to execute command while participating in a custom match.
ParticipatingInCustomMatch = 15
Performing
Unable to execute command while performing.
Performing = 16
Occupied
Unable to execute command while occupied.
Occupied = 25
InCombat
Unable to execute command during combat.
InCombat = 26
Casting
Unable to execute command while casting.
Casting = 27
SufferingStatusAffliction
Unable to execute command while suffering status affliction.
SufferingStatusAffliction = 28
SufferingStatusAffliction2
Unable to execute command while suffering status affliction.
SufferingStatusAffliction2 = 29
Occupied30
Unable to execute command while occupied.
Occupied30 = 30
OccupiedInEvent
Unable to execute command while occupied.
OccupiedInEvent = 31
OccupiedInQuestEvent
Unable to execute command while occupied.
OccupiedInQuestEvent = 32
Occupied33
Unable to execute command while occupied.
Occupied33 = 33
BoundByDuty
Unable to execute command while bound by duty.
BoundByDuty = 34
OccupiedInCutSceneEvent
Unable to execute command while occupied.
OccupiedInCutSceneEvent = 35
InDuelingArea
Unable to execute command while in a dueling area.
InDuelingArea = 36
TradeOpen
Unable to execute command while a trade is open.
TradeOpen = 37
Occupied38
Unable to execute command while occupied.
Occupied38 = 38
Occupied39
Unable to execute command while occupied.
Occupied39 = 39
ExecutingCraftingAction
Unable to execute command while crafting.
ExecutingCraftingAction = 40
PreparingToCraft
Unable to execute command while preparing to craft.
PreparingToCraft = 41
ExecutingGatheringAction
Unable to execute command while gathering.
ExecutingGatheringAction = 42
Fishing
Unable to execute command while fishing.
Fishing = 43
BetweenAreas
Unable to execute command while between areas.
BetweenAreas = 45
Stealthed
Unable to execute command while stealthed.
Stealthed = 46
Jumping
Unable to execute command while jumping.
Jumping = 48
UsingChocoboTaxi
Unable to execute command while auto-run is active.
UsingChocoboTaxi = 49
OccupiedSummoningBell
Unable to execute command while occupied.
OccupiedSummoningBell = 50
BetweenAreas51
Unable to execute command while between areas.
BetweenAreas51 = 51
SystemError
Unable to execute command due to system error.
SystemError = 52
LoggingOut
Unable to execute command while logging out.
LoggingOut = 53
ConditionLocation
Unable to execute command at this location.
ConditionLocation = 54
WaitingForDuty
Unable to execute command while waiting for duty.
WaitingForDuty = 55
BoundByDuty56
Unable to execute command while bound by duty.
BoundByDuty56 = 56
MountOrOrnamentTransition
Unable to execute command at this time.
MountOrOrnamentTransition = 57
WatchingCutscene
Unable to execute command while watching a cutscene.
WatchingCutscene = 58
WaitingForDutyFinder
Unable to execute command while waiting for Duty Finder.
WaitingForDutyFinder = 59
CreatingCharacter
Unable to execute command while creating a character.
CreatingCharacter = 60
Jumping61
Unable to execute command while jumping.
Jumping61 = 61
PvPDisplayActive
Unable to execute command while the PvP display is active.
PvPDisplayActive = 62
SufferingStatusAffliction63
Unable to execute command while suffering status affliction.
SufferingStatusAffliction63 = 63
Mounting
Unable to execute command while mounting.
Mounting = 64
CarryingItem
Unable to execute command while carrying an item.
CarryingItem = 65
UsingPartyFinder
Unable to execute command while using the Party Finder.
UsingPartyFinder = 66
UsingHousingFunctions
Unable to execute command while using housing functions.
UsingHousingFunctions = 67
Transformed
Unable to execute command while transformed.
Transformed = 68
OnFreeTrial
Unable to execute command while on the free trial.
OnFreeTrial = 69
BeingMoved
Unable to execute command while being moved.
BeingMoved = 70
Mounting71
Unable to execute command while mounting.
Mounting71 = 71
SufferingStatusAffliction72
Unable to execute command while suffering status affliction.
SufferingStatusAffliction72 = 72
SufferingStatusAffliction73
Unable to execute command while suffering status affliction.
SufferingStatusAffliction73 = 73
RegisteringForRaceOrMatch
Unable to execute command while registering for a race or match.
RegisteringForRaceOrMatch = 74
WaitingForRaceOrMatch
Unable to execute command while waiting for a race or match.
WaitingForRaceOrMatch = 75
WaitingForTripleTriadMatch
Unable to execute command while waiting for a Triple Triad match.
WaitingForTripleTriadMatch = 76
InFlight
Unable to execute command while in flight.
InFlight = 77
WatchingCutscene78
Unable to execute command while watching a cutscene.
WatchingCutscene78 = 78
InDeepDungeon
Unable to execute command while delving into a deep dungeon.
InDeepDungeon = 79
Swimming
Unable to execute command while swimming.
Swimming = 80
Diving
Unable to execute command while diving.
Diving = 81
RegisteringForTripleTriadMatch
Unable to execute command while registering for a Triple Triad match.
RegisteringForTripleTriadMatch = 82
WaitingForTripleTriadMatch83
Unable to execute command while waiting for a Triple Triad match.
WaitingForTripleTriadMatch83 = 83
ParticipatingInCrossWorldPartyOrAlliance
Unable to execute command while participating in a cross-world party or alliance.
ParticipatingInCrossWorldPartyOrAlliance = 84
Unknown85
Unknown85 = 85
DutyRecorderPlayback
Unable to execute command while playing duty record.
DutyRecorderPlayback = 86
Casting87
Unable to execute command while casting.
Casting87 = 87
MountImmobile
Unable to execute command in this state.
MountImmobile = 88
InThisState88
Unable to execute command in this state.
[Obsolete("Renamed to MountImmobile", true)]
InThisState88 = 88
InThisState89
Unable to execute command in this state.
InThisState89 = 89
RolePlaying
Unable to execute command while role-playing.
RolePlaying = 90
InDutyQueue
Unable to execute command while bound by duty. Specifically triggered when you are in a queue for a duty but not inside a duty.
InDutyQueue = 91
ReadyingVisitOtherWorld
Unable to execute command while readying to visit another World.
ReadyingVisitOtherWorld = 92
WaitingToVisitOtherWorld
Unable to execute command while waiting to visit another World.
WaitingToVisitOtherWorld = 93
UsingFashionAccessory
Unable to execute command while using a fashion accessory.
UsingFashionAccessory = 94
BoundByDuty95
Unable to execute command while bound by duty.
BoundByDuty95 = 95
Unknown96
Cannot execute at this time.
Unknown96 = 96
Disguised
Unable to execute command while wearing a guise.
Disguised = 97
RecruitingWorldOnly
Unable to execute command while recruiting for a non-cross-world party.
RecruitingWorldOnly = 98
Unknown99
Command unavailable in this location.
Unknown99 = 99
EditingPortrait
Unable to execute command while editing a portrait.
EditingPortrait = 100
Unknown101
Cannot execute at this time.
Unknown101 = 101
PilotingMech
Unable to execute command while undertaking a duty.
PilotingMech = 102
EditingStrategyBoard
Unable to execute command while editing a strategy board.
EditingStrategyBoard = 104
Extension Methods
- System.Enum.Dalamud.Utility.EnumExtensions.GetAttribute``1
- System.Enum.Dalamud.Utility.EnumExtensions.GetAttributes``1
- Dalamud.Utility.EnumExtensions.IsObsolete(System.Enum)