CS Functions

From the Oblivion ConstructionSet Wiki
Revision as of 04:33, 30 November 2008 by imported>Misiak95 (→‎A)
Jump to navigation Jump to search

This page lists all native CS scripting functions. For a more comprehensive list (including OBSE and OBSE plugin functions), see List of Functions.

Editors: Do not edit entries on this page. See Raw Function List for more info.

Contents
0–9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

A

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS Activate Activate object.
CS AddAchievement
CS AddFlames Add FlameNode to object.
CS AddItem Add item to actor.
CS AddScriptPackage
CS AddSpell Add spell/ability/disease to actor.
CS AddTopic Add new topic to actor (not player).
CS AdvancePCLevel
CS AdvancePCSkill
CS Autosave Saves game.

C

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS CanHaveFlames
CS CanPayCrimeGold
CS Cast
CS 1.2 ClearOwnership Removes all ownership to the item in question.
CS CloseCurrentOblivionGate
CS CloseOblivionGate
CS CompleteQuest
CS CreateFullActorCopy

D

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS DeleteFullActorCopy
CS Disable
CS DisableLinkedPathPoints
CS DisablePlayerControls
CS Dispel
CS DispelAllSpells
CS Drop
CS DropMe
CS DuplicateAllItems
CS DuplicateNPCStats

E

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS Enable
CS EnableFastTravel
CS EnableLinkedPathPoints
CS EnablePlayerControls
CS EquipItem
CS EssentialDeathReload
CS EvaluatePackage

F

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS ForceActorValue
CS ForceCloseOblivionGate
CS ForceFlee
CS ForceTakeCover
CS ForceWeather

G

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS GetActionRef
CS GetActorValue
CS GetAlarmed
CS GetAmountSoldStolen
CS GetAngle
CS GetArmorRating
CS GetArmorRatingUpperBody
CS GetAttacked
CS GetBarterGold
CS GetBaseActorValue
CS GetButtonPressed
CS GetClassDefaultMatch
CS GetClothingValue
CS GetCombatTarget
CS GetContainer
CS GetCrime
CS GetCrimeGold
CS GetCrimeKnown
CS GetCurrentAIPackage
CS GetCurrentAIProcedure
CS GetCurrentTime
CS GetCurrentWeatherPercent
CS GetDayOfWeek
CS GetDead
CS GetDeadCount
CS GetDestroyed
CS GetDetected
CS GetDetectionLevel
CS GetDisabled
CS GetDisposition
CS GetDistance
CS GetDoorDefaultOpen
CS GetEquipped
CS GetFactionRank
CS GetFactionRankDifference
CS GetFactionReaction
CS GetFatiguePercentage
CS GetForceRun
CS GetForceSneak
CS GetFriendHit
CS GetFurnitureMarkerID
CS GetGameSetting
CS GetGlobalValue
CS GetGold
CS GetHeadingAngle
CS GetIdleDoneOnce
CS GetIgnoreFriendlyHits
CS GetInCell
CS GetInCellParam
CS GetInFaction
CS GetInSameCell
CS GetInvestmentGold
CS GetInWorldspace
CS GetIsAlerted
CS GetIsClass
CS GetIsClassDefault
CS GetIsCreature
CS GetIsCurrentPackage
CS GetIsCurrentWeather
CS GetIsGhost
CS GetIsID
CS GetIsPlayableRace
CS GetIsPlayerBirthsign
CS GetIsRace
CS GetIsReference
CS GetIsSex
CS GetIsUsedItem
CS GetIsUsedItemType
CS GetItemCount
CS GetKnockedState
CS GetLevel
CS GetLocked
CS GetLockLevel
CS GetLOS
CS GetNoRumors
CS GetOffersServicesNow
CS GetOpenState
CS GetPackageTarget
CS GetParentRef
CS GetPCExpelled
CS GetPCFactionAttack
CS GetPCFactionMurder
CS GetPCFactionSteal
CS GetPCFactionSubmitAuthority
CS GetPCFame
CS GetPCInFaction
CS GetPCInfamy
CS GetPCIsClass
CS GetPCIsRace
CS GetPCIsSex
CS GetPCMiscStat
CS GetPCSleepHours
CS GetPersuasionNumber
CS GetPlayerControlsDisabled
CS GetPlayerHasLastRiddenHorse
CS 1.2 GetPlayerInSEWorld Should be 1 if player is in Shivering Isles.
CS GetPos
CS GetQuestRunning
CS GetQuestVariable
CS GetRandomPercent
CS GetRestrained
CS GetScale
CS GetScriptVariable
CS GetSecondsPassed
CS GetSelf
CS GetShouldAttack
CS GetSitting
CS GetSleeping
CS GetStage
CS GetStageDone
CS GetStartingAngle
CS GetStartingPos
CS GetTalkedToPC
CS GetTalkedToPCParam
CS GetTimeDead
CS GetTotalPersuasionNumber
CS GetTrespassWarningLevel
CS GetUnconscious
CS GetUsedItemActivate
CS GetUsedItemLevel
CS GetVampire
CS GetWalkSpeed
CS GetWeaponAnimType
CS GetWeaponSkillType
CS GetWindSpeed
CS GoToJail

H

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS HasFlames
CS HasMagicEffect
CS HasVampireFed

I

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS IsActionRef
CS IsActor
CS IsActorAVictim
CS IsActorDetected
CS IsActorEvil
CS IsActorsAIOff
CS IsActorUsingATorch
CS IsAnimPlaying
CS IsCellOwner
CS IsCloudy
CS IsContinuingPackagePCNear
CS IsCurrentFurnitureObj
CS IsCurrentFurnitureRef
CS IsEssential
CS IsFacingUp
CS IsGuard
CS IsHorseStolen
CS IsIdlePlaying
CS IsInCombat
CS IsInDangerousWater
CS IsInInterior
CS IsInMyOwnedCell
CS IsLeftUp
CS IsOwner
CS IsPCAMurderer
CS IsPCSleeping
CS IsPlayerInJail
CS IsPlayerMovingIntoNewSpace
CS IsPlayersLastRiddenHorse
CS IsPleasant
CS IsRaining
CS IsRidingHorse
CS IsRunning
CS IsShieldOut
CS IsSneaking
CS IsSnowing
CS IsSpellTarget
CS IsSwimming
CS IsTalking
CS IsTimePassing
CS IsTorchOut
CS IsTrespassing
CS IsTurnArrest
CS IsWaiting
CS IsWeaponOut
CS IsXBox
CS IsYielding

K

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS Kill
CS KillAllActors

L

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS Lock
CS Look
CS LoopGroup

M

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS MenuMode (Function)
CS Message
CS MessageBox
CS ModActorValue
CS ModAmountSoldStolen
CS ModBarterGold
CS ModCrimeGold
CS ModDisposition
CS ModFactionRank
CS ModFactionReaction
CS ModPCAttribute
CS ModPCFame
CS ModPCInfamy
CS ModPCMiscStat
CS ModPCSkill
CS ModScale
CS MoveTo
CS MoveToMarker

N

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS NameIncludes

P

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS PayFine
CS PayFineThief
CS PickIdle
CS PlaceAtMe
CS PlayBink
CS PlayGroup
CS PlayMagicEffectVisuals
CS PlayMagicShaderVisuals
CS PlaySound
CS PlaySound3D
CS PositionCell
CS PositionWorld
CS PreloadMagicEffect
CS 1.2 PurgeCellBuffers
CS 1.2 PushActorAway Pushes a target actor away from the caller.

R

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS RefreshTopicList
CS ReleaseWeatherOverride
CS RemoveAllItems
CS RemoveFlames
CS RemoveItem
CS RemoveMe
CS RemoveScriptPackage
CS RemoveSpell
CS Reset3DState
CS ResetFallDamageTimer
CS ResetHealth
CS ResetInterior
CS Resurrect
CS Rotate

S

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS SameFaction
CS SameFactionAsPC
CS SameRace
CS SameRaceAsPC
CS SameSex
CS SameSexAsPC
CS Say
CS SayTo
CS ScriptEffectElapsedSeconds
CS SelectPlayerSpell
CS SendTrespassAlarm
CS SetActorAlpha
CS SetActorFullName
CS SetActorRefraction
CS 1.2 SetActorsAI Activates/de-activates actor's AI.
CS SetActorValue
CS SetAlert
CS SetAllReachable
CS SetAllVisible
CS SetAngle
CS SetAtStart
CS SetBarterGold
CS SetCellFullName
CS SetCellOwnership
CS SetCellPublicFlag
CS SetClass
CS SetCombatStyle
CS SetCrimeGold
CS SetDestroyed
CS SetDoorDefaultOpen
CS SetEssential
CS SetFactionRank
CS SetFactionReaction
CS SetForceRun
CS SetForceSneak
CS SetGhost
CS SetIgnoreFriendlyHits
CS SetInCharGen
CS SetInvestmentGold
CS SetItemValue
CS SetLevel
CS SetNoAvoidance
CS SetNoRumors
CS SetOpenState
CS SetOwnership
CS SetPackDuration
CS SetPCExpelled
CS SetPCFactionAttack
CS SetPCFactionMurder
CS SetPCFactionSteal
CS SetPCFactionSubmitAuthority
CS SetPCFame
CS SetPCInfamy
CS SetPCSleepHours
CS 1.2 SetPlayerInSEWorld Should be 1 if player is in Shivering Isles.
CS SetPos
CS SetQuestObject
CS SetRestrained
CS SetRigidBodyMass
CS SetScale
CS SetSceneIsComplex
CS SetShowQuestItems
CS SetSize
CS SetStage
CS SetUnconscious
CS SetWeather
CS ShowBirthsignMenu
CS ShowClassMenu
CS ShowDialogSubtitles
CS ShowEnchantment
CS ShowMap
CS ShowRaceMenu
CS ShowSpellMaking
CS SkipAnim
CS StartCombat
CS StartConversation
CS StartQuest
CS StopCombat
CS StopCombatAlarmOnActor
CS StopLook
CS StopMagicEffectVisuals
CS StopMagicShaderVisuals
CS StopQuest
CS StopWaiting
CS StreamMusic

T

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS This
CS ToggleActorsAI
CS TrapUpdate
CS TriggerHitShader

U

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS UnequipItem
CS Unlock

V

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS VampireFeed

W

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS Wait
CS WakeUpPC
CS WhichServiceMenu

Y

Source Function Description - ABCDEFGHIJKLMNOPQRSTUVWXYZ
CS Yield