Difference between revisions of "Condition Functions"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Egocarib
m (fixed valign)
imported>Egocarib
m (spaced columns a bit to avoid long entry clutter)
Line 8: Line 8:


{|
{|
| style="width: 25%" |
| style="width: 25%; padding-right:12px" |
[[CanFlyHere]]<br>
[[CanFlyHere]]<br>
[[CanHaveFlames]]<br>
[[CanHaveFlames]]<br>
Line 18: Line 18:
[[EPMagic_SpellHasKeyword]]<br>
[[EPMagic_SpellHasKeyword]]<br>
[[EPMagic_SpellHasSkill]]<br>
[[EPMagic_SpellHasSkill]]<br>
[[EPModSkillUsage_AdvanceObjectHasKeyword]]<br>
[[EPModSkillUsage_AdvanceObjectHasKeyword]]   <br>
[[EPModSkillUsage_IsAdvanceAction]]<br>
[[EPModSkillUsage_IsAdvanceAction]]<br>
[[EPModSkillUsage_IsAdvanceSkill]]<br>
[[EPModSkillUsage_IsAdvanceSkill]]<br>
Line 108: Line 108:
[[GetInfamyViolent]]<br>
[[GetInfamyViolent]]<br>
[[GetInSameCell]]<br>
[[GetInSameCell]]<br>
| style="width: 25%" |
| style="width: 25%; padding-right:12px" |
[[GetInSharedCrimeFaction]]<br>
[[GetInSharedCrimeFaction]]<br>
[[GetIntimidateSuccess]]<br>
[[GetIntimidateSuccess]]<br>
Line 208: Line 208:
[[GetScriptVariable]]<br>
[[GetScriptVariable]]<br>
[[GetSecondsPassed]]<br>
[[GetSecondsPassed]]<br>
| style="width: 25%" |
| style="width: 25%; padding-right:12px" |
[[GetShouldAttack]]<br>
[[GetShouldAttack]]<br>
[[GetShouldHelp]]<br>
[[GetShouldHelp]]<br>
Line 308: Line 308:
[[IsGreetingPlayer]]<br>
[[IsGreetingPlayer]]<br>
[[IsGuard]]<br>
[[IsGuard]]<br>
| style="width: 25%" valign=top |
| style="width: 25%; padding-right:12px" valign=top |
[[IsHorseStolen]]<br>
[[IsHorseStolen]]<br>
[[IsHostileToActor]]<br>
[[IsHostileToActor]]<br>

Revision as of 14:46, 13 November 2013

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.
Adding a GetIsID condition function to a magic effect.

Complete List of Condition Functions

CanFlyHere
CanHaveFlames
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
GetAnimAction
GetArrestedState
GetArrestingActor
GetAttacked
GetAttackState
GetBaseActorValue
GetBribeSuccess
GetCannibal
GetCauseofDeath
GetClassDefaultMatch
GetClothingValue
GetCombatGroupMemberCount
GetCombatState
GetCombatTargetHasKeyword
GetConcussed
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
GetHitLocation
GetIdleDoneOnce
GetIgnoreCrime
GetIgnoreFriendlyHits
GetInCell
GetInCellParam
GetInContainer
GetInCurrentLoc
GetInCurrentLocAlias
GetInCurrentLocFormList
GetInFaction
GetInfamy
GetInfamyNonViolent
GetInfamyViolent
GetInSameCell

GetInSharedCrimeFaction
GetIntimidateSuccess
GetInWorldspace
GetInZone
GetIsAlerted
GetIsAliasRef
GetIsAlignment
GetIsClass
GetIsClassDefault
GetIsCrashLandRequest
GetIsCreature
GetIsCreatureType
GetIsCrimeFaction
GetIsCurrentPackage
GetIsCurrentWeather
GetIsEditorLocAlias
GetIsEditorLocation
GetIsFlying
GetIsGhost
GetIsHastyLandRequest
GetIsID
GetIsInjured
GetIsLockBroken
GetIsObjectType
GetIsPlayableRace
GetIsRace
GetIsReference
GetIsSex
GetIsUsedItemEquipType
GetIsUsedItemType
GetIsVoiceType
GetItemCount
GetItemHealthPercent
GetKeywordDataForAlias
GetKeywordDataForCurrentLocation
GetKeywordDataForLocation
GetKeywordItemCount
GetKillingBlowLimb
GetKnockedState
GetKnockStateEnum
GetLastBumpDirection
GetLastHitCritical
GetLastPlayerAction
GetLevel
GetLightLevel
GetLineOfSight
GetLocAliasRefTypeAliveCount
GetLocAliasRefTypeDeadCount
GetLocationAliasCleared
GetLocationCleared
GetLocked
GetLocklevel
GetLowestRelationshipRank
GetMapMarkerVisible
GetMovementDirection
GetMovementSpeed
GetNoBleedoutRecovery
GetNoRumors
GetNumericPackageData
GetOffersServicesNow
GetOpenState
GetPairedAnimation
GetPathingCurrentSpeed
GetPathingCurrentSpeedAngle
GetPathingTargetAngleOffset
GetPathingTargetOffset
GetPathingTargetSpeed
GetPathingTargetSpeedAngle
GetPCEnemyofFaction
GetPCExpelled
GetPCFactionAttack
GetPCFactionMurder
GetPCInFaction
GetPCIsClass
GetPCIsRace
GetPCIsSex
GetPCMiscStat
GetPermanentActorValue
GetPersuasionNumber
GetPlantedExplosive
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
GetTotalPersuasionNumber
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
HasFlames
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

IsHorseStolen
IsHostileToActor
IsIdlePlaying
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
IsPClstPerson
IsPCAMurderer
IsPCSleeping
IsPlayerActionActive
IsPlayerGrabbedRef
IsPlayerInRegion
IsPlayerMovingIntoNewSpace
IsPlayersLastRiddenMount
IsPleasant
IsPoison
IsPowerAttacking
IsProtected
IsPS3
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
IsWaiting
IsWardState
IsWarningAbout
IsWaterObject
IsWeaponInList
IsWeaponMagicOut
IsWeaponOut
IsWeaponSkillType
IsWin32
IsXBox
LocAliasHasKeyword
LocAliasIsLocation
LocationHasKeyword
LocationHasRefType
MenuMode
PlayerKnows
SameFaction
SameFactionAsPC
SameRace
SameRaceAsPC
SameSex
SameSexAsPC
ShouldAttackKill
SpellHasCastingPerk
SpellHasKeyword
WornApparelHasKeywordCount
WornHasKeyword

See Also