|
|
| (4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) |
| Zeile 25: |
Zeile 25: |
| | | | |
| | | | |
| − | Siehe auch: | + | '''Siehe auch:''' |
| | | | |
| − | [[Oblivion:Variablen#G.C3.BCltigkeitsbereiche_und_Lebensdauer_von_Variablen| Variablen Deklarieren]] | + | [[Oblivion:Sprachelemente|Sprachelemente]] |
| | | | |
| − | [[Oblivion:If|Der IF-Befehl]] | + | [[Oblivion:Variablen|Variablen]] |
| − | | |
| − | [[Oblivion:Set|Set]]
| |
| | | | |
| | [[:Kategorie:Funktionen|Funktionen]] | | [[:Kategorie:Funktionen|Funktionen]] |
| | | | |
| − | [[:Kategorie:Befehle|Befehle]] | + | [[:Kategorie:Blocktypen|Blocktypen]] |
| − | | |
| − | [[ob:Variablen| Variablen]]
| |
| − | | |
| − | | |
| − | | |
| − | | |
| − | == Alle Befehle ==
| |
| − | | |
| − | | |
| − | A
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/Activate.html[Activate]]
| |
| − | | |
| − | * AddAchievement
| |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/AddFlames.html[AddFlames]]
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/AddItem.html[AddItem]]
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/AddScriptPackage.html[AddScriptPackage]]
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/AddSpell.html[AddSpell]]
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/AddTopic.html[AddTopic]]
| |
| − | | |
| − | * AdvancePCLevel
| |
| − | * AdvancePCSkill
| |
| − | * Autosave
| |
| − | | |
| − | | |
| − | B
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/begin.html[Begin]]
| |
| − | | |
| − | | |
| − | C
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/CanHaveFlames.html[CanHaveFlames]]
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/CanPayCrimeGold.html[CanPayCrimeGold]]
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/cast.html[Cast]]
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/CloseCurrentOblivionGate.html[CloseCurrentOblivionGate]]
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/CloseOblivionGate.html[CloseOblivionGate]]
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/CompleteQuest.html[CompleteQuest]]
| |
| − | | |
| − | * CreateFullActorCopy
| |
| − | | |
| − | | |
| − | D
| |
| − | | |
| − | * DeleteFullActorCopy
| |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/Disable.html[Disable]]
| |
| − | | |
| − | * DisableLinkedPathPoints
| |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/DisablePlayerControls.html[DisablePlayerControls]]
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/Dispel.html[Dispel]]
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/DispellAllSpells.html[DispelAllSpells]]
| |
| − | | |
| − | * Drop
| |
| − | * DropMe
| |
| − | * DuplicateAllItems
| |
| − | * DuplicateNPCStats
| |
| − | | |
| − | | |
| − | E
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/Enable.html[Enable]]
| |
| − | | |
| − | * EnableFastTravel
| |
| − | * EnableLinkedPathPoints
| |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/EnablePlayerControls.html[EnablePlayerControls]]
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/End.html[End]]
| |
| − | | |
| − | * EquipItem
| |
| − | * EssentialDeathReload
| |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/EvaluatePackage.html[EvaluatePackage]]
| |
| − | | |
| − | | |
| − | F
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/ForceActorValue.html[ForceActorValue]]
| |
| − | | |
| − | * ForceCloseOblivionGate
| |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/ForceFlee.html[ForceFlee]]
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/ForceTakeCover.html[ForceTakeCover]]
| |
| − | | |
| − | [http://www.ei-der-zeit.com/LexikonCSIV/tesiv-cs/befehle/ForceWeather.html[ForceWeather]]
| |
| − |
| |
| − | | |
| − | G
| |
| − | | |
| − | * GameMode
| |
| − | * GetActionRef
| |
| − | * GetActorValue
| |
| − | * GetAlarmed
| |
| − | * GetAmountGoldStolen
| |
| − | * GetAngle
| |
| − | * GetArmorRating
| |
| − | * GetArmorRatingUpperBody
| |
| − | * GetAttacked
| |
| − | * GetBarterGold
| |
| − | * GetBaseActorValue
| |
| − | * GetButtonPressed
| |
| − | * GetClassDefaultMatch
| |
| − | * GetClothingValue
| |
| − | * GetCombatTarget
| |
| − | * GetContainer
| |
| − | * GetCrime
| |
| − | * GetCrimeGold
| |
| − | * GetCrimeKnown
| |
| − | * GetCurrentAIPackage
| |
| − | * GetCurrentAIProcedure
| |
| − | * GetCurrentTime
| |
| − | * GetCurrentWeatherPercent
| |
| − | * GetDayOfWeek
| |
| − | * GetDead
| |
| − | * GetDeadCount
| |
| − | * GetDestroyed
| |
| − | * GetDetected
| |
| − | * GetDetectionLevel
| |
| − | * GetDisabled
| |
| − | * GetDisease
| |
| − | * GetDisposition
| |
| − | * GetDistance
| |
| − | * GetDoorDefaultOpen
| |
| − | * GetEquipped
| |
| − | * GetFactionRank
| |
| − | * GetFactionRankDifference
| |
| − | * GetFactionReaction
| |
| − | * GetFatiguePercentage
| |
| − | * GetForceRun
| |
| − | * GetForceSneak
| |
| − | * GetFriendHit
| |
| − | * GetFurnitureMarkerID
| |
| − | * GetGameSetting
| |
| − | * GetGlobalValue
| |
| − | * GetGold
| |
| − | * GetHeadingAngle
| |
| − | * GetIdleDoneOnce
| |
| − | * GetIgnoreFriendlyHits
| |
| − | * GetInCell
| |
| − | * GetInCellParam
| |
| − | * GetInFaction
| |
| − | * GetInSameCell
| |
| − | * GetInWorldspace
| |
| − | * GetInvestmentGold
| |
| − | * GetIsAlerted
| |
| − | * GetIsClass
| |
| − | * GetIsClassDefault
| |
| − | * GetIsCreature
| |
| − | * GetIsCurrentPackage
| |
| − | * GetIsCurrentWeather
| |
| − | * GetIsGhost
| |
| − | * GetIsID
| |
| − | * GetIsPlayableRace
| |
| − | * GetIsPlayerBirthsign
| |
| − | * GetIsRace
| |
| − | * GetIsReference
| |
| − | * GetIsSex
| |
| − | * GetIsUsedItem
| |
| − | * GetIsUsedItemType
| |
| − | * GetItemCount
| |
| − | * GetKnockedState
| |
| − | * GetLOS
| |
| − | * GetLevel
| |
| − | * GetLockLevel
| |
| − | * GetLocked
| |
| − | * GetNoRumors
| |
| − | * GetOffersServicesNow
| |
| − | * GetOpenState
| |
| − | * GetPCExpelled
| |
| − | * GetPCFactionAttack
| |
| − | * GetPCFactionMurder
| |
| − | * GetPCFactionSteal
| |
| − | * GetPCFactionSubmitAuthority
| |
| − | * GetPCFame
| |
| − | * GetPCInFaction
| |
| − | * GetPCInfamy
| |
| − | * GetPCIsClass
| |
| − | * GetPCIsRace
| |
| − | * GetPCIsSex
| |
| − | * GetPCMiscStat
| |
| − | * GetPCSleepHours
| |
| − | * GetPackageTarget
| |
| − | * GetParentRef
| |
| − | * GetPersuasionNumber
| |
| − | * GetPlayerHasLastRiddenHorse
| |
| − | * GetPos
| |
| − | * GetQuestRunning
| |
| − | * GetQuestVariable
| |
| − | * GetRandomPercent
| |
| − | * GetRestrained
| |
| − | * GetScale
| |
| − | * GetScriptVariable
| |
| − | * GetSecondsPassed
| |
| − | * GetSelf
| |
| − | * GetShouldAttack
| |
| − | * GetSitting
| |
| − | * GetSleeping
| |
| − | * GetStage
| |
| − | * GetStageDone
| |
| − | * GetStartingAngle
| |
| − | * GetStartingPos
| |
| − | * GetTalkedToPC
| |
| − | * GetTalkedToPCParam
| |
| − | * GetTimeDead
| |
| − | * GetTotalPersuasionNumber
| |
| − | * GetTrespassWarningLevel
| |
| − | * GetUnconscious
| |
| − | * GetUsedItemActivate
| |
| − | * GetUsedItemLevel
| |
| − | * GetVampire
| |
| − | * GetWalkSpeed
| |
| − | * GetWeaponAnimType
| |
| − | * GetWeaponSkillType
| |
| − | * GetWindSpeed
| |
| − | * GoToJail
| |
| − | | |
| − | H
| |
| − | | |
| − | * HasFlames
| |
| − | * HasMagicEffect
| |
| − | * HasVampireFed
| |
| − | | |
| − | I
| |
| − | | |
| − | * If
| |
| − | * IsActionRef
| |
| − | * IsActor
| |
| − | * IsActorAVictim
| |
| − | * IsActorDetected
| |
| − | * IsActorEvil
| |
| − | * IsActorUsingATorch
| |
| − | * IsActorsAIOff
| |
| − | * IsAnimPlaying
| |
| − | * IsCellOwner
| |
| − | * IsCloudy
| |
| − | * IsContinuingPackagePCNear
| |
| − | * IsCurrentFurnitureObj
| |
| − | * IsCurrentFurnitureRef
| |
| − | * IsEssential
| |
| − | * IsFacingUp
| |
| − | * IsGuard
| |
| − | * IsHorseStolen
| |
| − | * IsIdlePlaying
| |
| − | * IsInCombat
| |
| − | * IsInDangerousWater
| |
| − | * IsInInterior
| |
| − | * IsLeftUp
| |
| − | * IsOwner
| |
| − | * IsPCAMurderer
| |
| − | * IsPCSleeping
| |
| − | * IsPlayerInJail
| |
| − | * IsPlayerMovingIntoNewSpace
| |
| − | * IsPlayersLastRiddenHorse
| |
| − | * IsPleasant
| |
| − | * IsRaining
| |
| − | * IsRidingHorse
| |
| − | * IsRunning
| |
| − | * IsShieldOut
| |
| − | * IsSneaking
| |
| − | * IsSnowing
| |
| − | * IsSpellTarget
| |
| − | * IsSwimming
| |
| − | * IsTalking
| |
| − | * IsTimePassing
| |
| − | * IsTorchOut
| |
| − | * IsTrespassing
| |
| − | * IsTurnArrest
| |
| − | * IsWaiting
| |
| − | * IsWeaponOut
| |
| − | * IsXBox
| |
| − | * IsYielding
| |
| − | | |
| − | J
| |
| − | | |
| − | K
| |
| − | | |
| − | * Kill
| |
| − | * KillAllActors
| |
| − | | |
| − | L
| |
| − | | |
| − | * Lock
| |
| − | * Look
| |
| − | * LoopGroup
| |
| − | | |
| − | M
| |
| − | | |
| − | * MenuMode
| |
| − | * Message
| |
| − | * MessageBox
| |
| − | * ModActorValue
| |
| − | * ModAmountSoldStolen
| |
| − | * ModBarterGold
| |
| − | * ModCrimeGold
| |
| − | * ModDisposition
| |
| − | * ModFactionRank
| |
| − | * ModFactionReaction
| |
| − | * ModPCAttribute
| |
| − | * ModPCFame
| |
| − | * ModPCInfamy
| |
| − | * ModPCMiscStat
| |
| − | * ModPCSkill
| |
| − | * ModScale
| |
| − | * MoveTo
| |
| − | * MoveToMarker
| |
| − | | |
| − | N
| |
| − | | |
| − | O
| |
| − | | |
| − | * OnActivate
| |
| − | * OnActorEquip
| |
| − | * OnActorUnequip
| |
| − | * OnAdd
| |
| − | * OnAlarm
| |
| − | * OnAlarmVictim
| |
| − | * OnDeath
| |
| − | * OnDrop
| |
| − | * OnEquip
| |
| − | * OnHit
| |
| − | * OnHitWith
| |
| − | * OnKnockout
| |
| − | * OnLoad
| |
| − | * OnMagicEffectHit
| |
| − | * OnMurder
| |
| − | * OnPackageChange
| |
| − | * OnPackageDone
| |
| − | * OnPackageEnd
| |
| − | * OnPackageStart
| |
| − | * OnReset
| |
| − | * OnSell
| |
| − | * OnStartCombat
| |
| − | * OnTrigger
| |
| − | * OnTriggerActor
| |
| − | * OnTriggerMob
| |
| − | * OnUnequip
| |
| − | | |
| − | P
| |
| − | | |
| − | * PayFine
| |
| − | * PayFineThief
| |
| − | * PickIdle
| |
| − | * PlaceAtMe
| |
| − | * PlayBink
| |
| − | * PlayGroup
| |
| − | * PlayMagicEffectVisuals
| |
| − | * PlayMagicShaderVisuals
| |
| − | * PlaySound
| |
| − | * PlaySound3D
| |
| − | * PositionCell
| |
| − | * PositionWorld
| |
| − | * PreloadMagicEffect
| |
| − | | |
| − | Q
| |
| − | | |
| − | R
| |
| − | | |
| − | * RefreshTopicList
| |
| − | * ReleaseWeatherOverride
| |
| − | * RemoveAllItems
| |
| − | * RemoveFlames
| |
| − | * RemoveItem
| |
| − | * RemoveMe
| |
| − | * RemoveScriptPackage
| |
| − | * RemoveSpell
| |
| − | * Reset3DState
| |
| − | * ResetFallDamageTimer
| |
| − | * ResetHealth
| |
| − | * ResetInterior
| |
| − | * Resurrect
| |
| − | * Return
| |
| − | * Rotate
| |
| − | | |
| − | S
| |
| − | | |
| − | * SameFaction
| |
| − | * SameFactionAsPC
| |
| − | * SameRaceAsPC
| |
| − | * SameSex
| |
| − | * SameSexAsPC
| |
| − | * Say
| |
| − | * SayTo
| |
| − | * ScriptEffectElapsedSeconds
| |
| − | * ScriptEffectFinish
| |
| − | * ScriptEffectStart
| |
| − | * ScriptEffectUpdate
| |
| − | * Scriptname
| |
| − | * SelectPlayerSpell
| |
| − | * SendTrespassAlarm
| |
| − | * Set
| |
| − | * SetActorAlpha
| |
| − | * SetActorFullName
| |
| − | * SetActorRefraction
| |
| − | * SetActorValue
| |
| − | * SetAlert
| |
| − | * SetAllReachable
| |
| − | * SetAllVisible
| |
| − | * SetAngle
| |
| − | * SetAtStart
| |
| − | * SetBarterGold
| |
| − | * SetCellFullName
| |
| − | * SetCellOwnership
| |
| − | * SetCellPublicFlag
| |
| − | * SetClass
| |
| − | * SetCombatStyle
| |
| − | * SetCrimeGold
| |
| − | * SetDestroyed
| |
| − | * SetDoorDefaultOpen
| |
| − | * SetEssential
| |
| − | * SetFactionRank
| |
| − | * SetFactionReaction
| |
| − | * SetForceRun
| |
| − | * SetForceSneak
| |
| − | * SetGhost
| |
| − | * SetIgnoreFriendlyHits
| |
| − | * SetInCharGen
| |
| − | * SetInvestmentGold
| |
| − | * SetItemValue
| |
| − | * SetLevel
| |
| − | * SetNoAvoidance
| |
| − | * SetNoRumors
| |
| − | * SetOpenState
| |
| − | * SetOwnership
| |
| − | * SetPackDuration
| |
| − | * SetPCExpelled
| |
| − | * SetPCFactionAttack
| |
| − | * SetPCFactionMurder
| |
| − | * SetPCFactionSteal
| |
| − | * SetPCFactionSubmitAuthority
| |
| − | * SetPCFame
| |
| − | * SetPCInfamy
| |
| − | * SetPCSleepHours
| |
| − | * SetPos
| |
| − | * SetQuestObject
| |
| − | * SetRestrained
| |
| − | * SetRigidBodyMass
| |
| − | * SetScale
| |
| − | * SetSceneIsComplex
| |
| − | * SetShowQuestItems
| |
| − | * SetSize
| |
| − | * SetStage
| |
| − | * SetUnconscious
| |
| − | * SetWeather
| |
| − | * ShowBirthsignMenu
| |
| − | * ShowClassMenu
| |
| − | * ShowDialogSubtitles
| |
| − | * ShowEnchantment
| |
| − | * ShowMap
| |
| − | * ShowRaceMenu
| |
| − | * ShowSpellMaking
| |
| − | * SkipAnim
| |
| − | * StartCombat
| |
| − | * StartConversation
| |
| − | * StartQuest
| |
| − | * StopCombat
| |
| − | * StopCombatAlarmOnActor
| |
| − | * StopLook
| |
| − | * StopMagicEffectVisuals
| |
| − | * StopMagicShaderVisuals
| |
| − | * StopQuest
| |
| − | * StopWaiting
| |
| − | * StreamMusic
| |
| − | | |
| − | T
| |
| − | | |
| − | * ToggleActorsAI
| |
| − | * TrapUpdate
| |
| − | * TriggerHitShader
| |
| − | | |
| − | U
| |
| − | | |
| − | * UnequipItem
| |
| − | * Unlock
| |
| − | | |
| − | V
| |
| − | | |
| − | * VampireFeed
| |
| − | | |
| − | W
| |
| − | | |
| − | * Wait
| |
| − | * WakeUpPC
| |
| − | * WhichServiceMenu
| |
| | | | |
| − | X
| |
| | | | |
| − | Y
| |
| | | | |
| − | * Yield
| |
| | | | |
| − | Z
| |
| | | | |
| | + | <categorytree depth=2 mode=Pages hideroot=on namespaces=Oblivion hideprefix=always>Befehle</categorytree> |
| | | | |
| − | [[Kategorie: Befehle| Befehle]] | + | [[Kategorie: Befehle|Befehle]] |
Oblivion's Script-Sprache ist direkt auf das Spiel ausgelegt, aber teilt auch viel Gemeinsamkeiten anderer Programmiersprachen. Ein Grund-Script hat drei Elemente: einen Script Namen, eine BEGIN-Anweisung und eine END-Anweisung.
Hier ist ein Beispiel:
Die BEGIN Anweisung definiert die Aktion, die das Script auslöst. Wenn die Konditionen des BEGIN-Befehls erfüllt sind, werden alle Befehle zwischen BEGIN und END ausgeführt. Jeder BEGIN-Befehl muss einen entsprechenden END-Befehl besitzen.
Man kann auch die Ausführung des Scripts durch den RETURN-Befehl abbrechen. Das ist innerhalb eines IF-Befehls hilfreich, wenn du nicht willst, das das Script unter bestimmten Voraussetzungen weiter ausgeführt werden soll.
Du kannst auch persönliche Kommentare in den Script einfügen, indem du sie mit einem Semikolon ( ; ) beginnst. Diese werden dann vom Spiel ignoriert. Auf diese Weise kann man das Script etwas übersichtlicher gestalten oder auch ganz einfach und ohne Risiko Programmzeilen unwirksam machen um das Ergebnis zu testen.
Im oberen Beispiel ist es die Zeile "; Irgendwelche Befehle" - Diese Zeile wird vom Programm ignoriert.