Condition Functions

From the CreationKit Wiki
Jump to navigation Jump to search
Condition Functions are a set of special functions the Creation Kit can access directly from the game with no scripting. They are usually presented as a drop-down list when adding conditions to an object, as in the example pictured below.


For details about setting up Condition Functions in the editor, visit the Conditions page.

Adding a GetIsID condition function to a magic effect.

List of Condition Functions[edit | edit source]

CanFlyHere
CanPayCrimeGold
DoesNotExist
EffectWasDualCast
EPAlchemyEffect­HasKeyword
EPAlchemy­GetMaking­Poison
EPMagic_SpellHasKeyword
EPMagic_SpellHasSkill
EPModSkillUsage_­AdvanceObjectHas­Keyword
EPModSkillUsage_­IsAdvanceAction
EPModSkillUsage_­IsAdvanceSkill
EPTemperingItemHas­Keyword
EPTemperingItemIs­Enchanted
Exists
GetActivationHeight
GetActorAggroRadiusViolated
GetActorCrimePlayerEnemy
GetActorsInHigh
GetActorValue
GetActorValuePercent
GetAlarmed
GetAllowWorldInteractions
GetAmountSoldStolen
GetAngle
GetArrestedState
GetArrestingActor
GetAttacked
GetAttackState
GetBaseActorValue
GetBribeSuccess
GetCannibal
GetClothingValue
GetCombatGroupMemberCount
GetCombatState
GetCombatTargetHasKeyword
GetCrime
GetCrimeGold
GetCrimeGoldNonviolent
GetCrimeGoldViolent
GetCurrentAIPackage
GetCurrentAIProcedure
GetCurrentCastingType
GetCurrentDeliveryType
GetCurrentShoutVariation
GetCurrentTime
GetCurrentWeatherPercent
GetDayOfWeek
GetDaysInJail
GetDead
GetDeadCount
GetDefaultOpen
GetDestroyed
GetDestructionStage
GetDetected
GetDialogueEmotion
GetDialogueEmotionValue
GetDisabled
GetDisease
GetDistance
GetEquipped
GetEquippedItemType
GetEquippedShout
GetEventData
GetFactionCombatReaction
GetFactionRank
GetFactionRankDifference
GetFactionRelation
GetFlyingState
GetFriendHit
GetGlobalValue
GetGold
GetGraphVariableFloat
GetGraphVariableInt
GetGroupMemberCount
GetGroupTargetCount
GetHasNote
GetHeadingAngle
GetHealthPercentage
GetHighestRelationshipRank
GetIdleDoneOnce
GetIgnoreCrime
GetIgnoreFriendlyHits
GetInCell
GetInCellParam
GetInContainer
GetInCurrentLoc
GetInCurrentLocAlias
GetInCurrentLocFormList
GetInFaction
GetInSameCell
GetInSharedCrimeFaction
GetIntimidateSuccess
GetInWorldspace
GetInZone
GetIsAlerted
GetIsAliasRef
GetIsClass
GetIsClassDefault
GetIsCrashLandRequest
GetIsCrimeFaction
GetIsCurrentPackage
GetIsCurrentWeather
GetIsEditorLocAlias
GetIsEditorLocation
GetIsFlying
GetIsGhost
GetIsHastyLandRequest
GetIsID
GetIsInjured
GetIsObjectType
GetIsPlayableRace
GetIsRace
GetIsReference
GetIsSex
GetIsUsedItemEquipType
GetIsUsedItemType
GetIsVoiceType
GetItemCount
GetItemHealthPercent
GetKeywordDataForAlias
GetKeywordDataForCurrent­Location
GetKeywordDataForLocation
GetKeywordItemCount
GetKnockedState
GetKnockStateEnum
GetLastBumpDirection
GetLastHitCritical
GetLastPlayerAction
GetLevel
GetLightLevel
GetLineOfSight
GetLocAliasRefTypeAliveCount
GetLocAliasRefTypeDeadCount
GetLocationAliasCleared
GetLocationCleared
GetLocked
GetLocklevel
GetLowestRelationshipRank
GetMapMarkerVisible
GetMovementDirection
GetMovementSpeed
GetNoBleedoutRecovery
GetNumericPackageData
GetOffersServicesNow
GetOpenState
GetPairedAnimation
GetPathingCurrentSpeed
GetPathingCurrentSpeedAngle
GetPathingTargetAngleOffset
GetPathingTargetOffset
GetPathingTargetSpeed
GetPathingTargetSpeedAngle
GetPCEnemyofFaction
GetPCExpelled
GetPCFactionAttack
GetPCFactionMurder
GetPCInFaction
GetPCIsClass
GetPCIsRace
GetPCIsSex
GetPCMiscStat
GetPermanentActorValue
GetPlayerAction
GetPlayerControlsDisabled
GetPlayerTeammate
GetPlayerTeammateCount
GetPos
GetQuestCompleted
GetQuestRunning
GetQuestVariable
GetRandomPercent
GetRealHoursPassed
GetRefTypeAliveCount
GetRefTypeDeadCount
GetRelationshipRank
GetRelativeAngle
GetReplacedItemType
GetRestrained
GetScale
GetScriptVariable
GetSecondsPassed
GetShouldAttack
GetShouldHelp
GetSitting
GetSleeping
GetSpellUsageNum
GetStage
GetStageDone
GetStaminaPercentage
GetStartingAngle
GetStartingPos
GetStolenItemValue
GetStolenItemValueNoCrime
GetTalkedToPC
GetTalkedToPCParam
GetTargetHeight
GetThreatRatio
GetTimeDead
GetTrespassWarningLevel
GetUnconscious
GetVampireFeed
GetVATSBackAreaFree
GetVATSBackTargetVisible
GetVATSFrontAreaFree
GetVATSFrontTargetVisible
GetVATSLeftAreaFree
GetVATSLeftTargetVisible
GetVATSMode
GetVATSRightAreaFree
GetVATSRightTargetVisible
GetVatsTargetHeight
GetVATSValue
GetVelocity
GetVMQuestVariable
GetVMScriptVariable
GetWalkSpeed
GetWantBlocking
GetWeaponAnimType
GetWindSpeed
GetWithinDistance
GetWithinPackageLocation
GetXPForNextLevel
HasAssociationType
HasAssociationTypeAny
HasBeenEaten
HasBoundWeaponEquipped
HasEquippedSpell
HasFamilyRelationship
HasFamilyRelationshipAny
HasKeyword
HasLinkedRef
HasLoaded3D
HasMagicEffect
HasMagicEffectKeyword
HasParentRelationship
HasPerk
HasRefType
HasSameEditorLocAsRef
HasSameEditorLocAsRefAlias
HasShout
HasSpell
HasTwoHandedWeaponEquipped
IsActor
IsActorAVictim
IsActorUsingATorch
IsAllowedToFly
IsAttacking
IsAttackType
IsBeingRidden
IsBleedingOut
IsBlocking
IsBribedbyPlayer
IsCarryable
IsCasting
IsCellOwner
IsChild
IsCloserToAThanB
IsCloudy
IsCombatTarget
IsCommandedActor
IsContinuingPackagePCNear
IsCurrentFurnitureObj
IsCurrentFurnitureRef
IsCurrentSpell
IsDualCasting
IsEnteringInteractionQuick
IsEssential
IsExitingInstant
IsExitingInteractionQuick
IsFacingUp
IsFleeing
IsFlyingMountFastTravelling
IsFlyingMountPatrolQueued
IsFurnitureAnimType
IsFurnitureEntryType
IsGoreDisabled
IsGreetingPlayer
IsGuard
IsHostileToActor
IsIgnoringCombat
IsInCombat
IsInCriticalStage
IsInDangerousWater
IsInDialogueWithPlayer
IsInFavorState
IsInFriendStatewithPlayer
IsInFurnitureState
IsInInterior
IsInList
IsInMyOwnedCell
IsInSameCurrentLocAsRef
IsInSameCurrentLocAsRefAlias
IsInScene
IsIntimidatedbyPlayer
IsKiller
IsKillerObject
IsLastHostileActor
IsLastIdlePlayed
IsLeftUp
IsLimbGone
IsLinkedTo
IsLocAliasLoaded
IsLocationLoaded
IsMoving
IsNullPackageData
IsOnFlyingMount
IsOwner
IsPathing
IsPC1stPerson
IsPCAMurderer
IsPCSleeping
IsPlayerActionActive
IsPlayerGrabbedRef
IsPlayerInRegion
IsPlayerMovingIntoNewSpace
IsPlayersLastRiddenMount
IsPleasant
IsPoison
IsPowerAttacking
IsProtected
IsRaining
IsRecoiling
IsRidingMount
IsRotating
IsRunning
IsSceneActionComplete
IsScenePackageRunning
IsScenePlaying
IsShieldOut
IsSmallBump
IsSneaking
IsSnowing
IsSpellTarget
IsSprinting
IsStaggered
IsSwimming
IsTalking
IsTalkingActivatorActor
IsTimePassing
IsTorchOut
IsTrespassing
IsTurning
IsUndead
IsUnique
IsUnlockedDoor
IsWardState
IsWarningAbout
IsWaterObject
IsWeaponInList
IsWeaponMagicOut
IsWeaponOut
IsWeaponSkillType
LocAliasHasKeyword
LocAliasIsLocation
LocationHasKeyword
LocationHasRefType
PlayerKnows
SameFaction
SameFactionAsPC
SameRace
SameRaceAsPC
SameSex
SameSexAsPC
ShouldAttackKill
SpellHasCastingPerk
SpellHasKeyword
WornApparelHasKeywordCount
WornHasKeyword

List of Obsolete Condition Functions[edit | edit source]

These conditions exist in Skyrim but they are most likely obsolete and don't work anymore.

CanHaveFlames
GetAnimAction
GetCauseofDeath
GetClassDefaultMatch
GetConcussed
GetHitLocation
GetNoRumors
GetInfamy
GetInfamyNonViolent
GetInfamyViolent
GetKillingBlowLimb
GetIsAlignment
GetIsCreature
GetIsCreatureType
GetIsLockBroken
GetPersuasionNumber
GetPlantedExplosive
GetTotalPersuasionNumber
HasFlames
IsHorseStolen
IsIdlePlaying
IsPS3
IsWaiting
IsWin32
IsXBox
MenuMode