Difference between revisions of "Condition Functions"
imported>DavidJCobb (editing this list when it uses tables sucks. browsers support CSS columns without vendor prefixes since 2017 at the *very* latest (nice, Mozilla), with IE supporting it as far back as IE10 in 2012) |
DavidJCobb (talk | contribs) (GetItemHealthPercent is usable for checking whether an item has been improved via smithing and tempering) |
||
(One intermediate revision by one other user not shown) | |||
Line 128: | Line 128: | ||
[[GetIsVoiceType]]<br> | [[GetIsVoiceType]]<br> | ||
[[GetItemCount]]<br> | [[GetItemCount]]<br> | ||
[[GetItemHealthPercent]]<br> | |||
[[GetKeywordDataForAlias]]<br> | [[GetKeywordDataForAlias]]<br> | ||
[[GetKeywordDataForCurrentLocation|GetKeywordDataForCurrent­Location]]<br> | [[GetKeywordDataForCurrentLocation|GetKeywordDataForCurrent­Location]]<br> | ||
Line 308: | Line 309: | ||
[[IsLastIdlePlayed]]<br> | [[IsLastIdlePlayed]]<br> | ||
[[IsLeftUp]]<br> | [[IsLeftUp]]<br> | ||
[[IsLimbGone]]<br> | |||
[[IsLinkedTo]]<br> | [[IsLinkedTo]]<br> | ||
[[IsLocAliasLoaded]]<br> | [[IsLocAliasLoaded]]<br> | ||
Line 398: | Line 400: | ||
[[GetIsCreatureType]]<br> | [[GetIsCreatureType]]<br> | ||
[[GetIsLockBroken]]<br> | [[GetIsLockBroken]]<br> | ||
[[GetPersuasionNumber]]<br> | [[GetPersuasionNumber]]<br> | ||
[[GetPlantedExplosive]]<br> | [[GetPlantedExplosive]]<br> | ||
Line 405: | Line 406: | ||
[[IsHorseStolen]]<br> | [[IsHorseStolen]]<br> | ||
[[IsIdlePlaying]]<br> | [[IsIdlePlaying]]<br> | ||
[[IsPS3]]<br> | [[IsPS3]]<br> | ||
[[IsWaiting]]<br> | [[IsWaiting]]<br> |
Latest revision as of 18:04, 12 May 2024
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.
|
List of Condition Functions[edit | edit source]
CanFlyHere
CanPayCrimeGold
DoesNotExist
EffectWasDualCast
EPAlchemyEffectHasKeyword
EPAlchemyGetMakingPoison
EPMagic_SpellHasKeyword
EPMagic_SpellHasSkill
EPModSkillUsage_AdvanceObjectHasKeyword
EPModSkillUsage_IsAdvanceAction
EPModSkillUsage_IsAdvanceSkill
EPTemperingItemHasKeyword
EPTemperingItemIsEnchanted
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
GetKeywordDataForCurrentLocation
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.