Class GameScript
- Namespace
- SkyrimForge.Papyrus
- Assembly
- SkyrimForge.Game.dll
Functions and comments from Game.psc.
public static class GameScript
- Inheritance
-
GameScript
- Inherited Members
Properties
Dispatcher
The dispatcher that binds this script to a form and calls the functions and properties that have no generated member.
public static PapyrusScriptDispatcher Dispatcher { get; }
Property Value
Methods
AddAchievement(int)
Adds the specified achievement to the player's profile
public static Task AddAchievement(int aiAchievementID)
Parameters
aiAchievementIDint
Returns
AddHavokBallAndSocketConstraint(IObjectReference, string, IObjectReference, string, float, float, float, float, float, float)
Adds a ball-and-socket constraint between two rigid bodies, identified by their ref and node names
public static Task<bool> AddHavokBallAndSocketConstraint(IObjectReference arRefA, string arRefANode, IObjectReference arRefB, string arRefBNode, float afRefALocalOffsetX = 0, float afRefALocalOffsetY = 0, float afRefALocalOffsetZ = 0, float afRefBLocalOffsetX = 0, float afRefBLocalOffsetY = 0, float afRefBLocalOffsetZ = 0)
Parameters
arRefAIObjectReferencearRefANodestringarRefBIObjectReferencearRefBNodestringafRefALocalOffsetXfloatafRefALocalOffsetYfloatafRefALocalOffsetZfloatafRefBLocalOffsetXfloatafRefBLocalOffsetYfloatafRefBLocalOffsetZfloat
Returns
AddPerkPoints(int)
Add the specified number of perk points to the player
public static Task AddPerkPoints(int aiPerkPoints)
Parameters
aiPerkPointsint
Returns
AdvanceSkill(string, float)
Advance the given skill on the player by the provided amount of skill usage
public static Task AdvanceSkill(string asSkillName, float afMagnitude)
Parameters
Returns
CalculateFavorCost(int)
Calculates how much a x point favor would cost the player
public static Task<int> CalculateFavorCost(int aiFavorPrice)
Parameters
aiFavorPriceint
Returns
ClearPrison()
Clears the prison variables on the player
public static Task ClearPrison()
Returns
ClearTempEffects()
Clears temp effects from game
public static Task ClearTempEffects()
Returns
DisablePlayerControls(bool, bool, bool, bool, bool, bool, bool, bool, int)
Disables the user's controls
public static Task DisablePlayerControls(bool abMovement = true, bool abFighting = true, bool abCamSwitch = false, bool abLooking = false, bool abSneaking = false, bool abMenu = true, bool abActivate = true, bool abJournalTabs = false, int aiDisablePOVType = 0)
Parameters
abMovementboolabFightingboolabCamSwitchboolabLookingboolabSneakingboolabMenuboolabActivateboolabJournalTabsboolaiDisablePOVTypeint
Returns
EnableFastTravel(bool)
Enables or disables the ability to fast travel
public static Task EnableFastTravel(bool abEnable = true)
Parameters
abEnablebool
Returns
EnablePlayerControls(bool, bool, bool, bool, bool, bool, bool, bool, int)
Enables the user's controls
public static Task EnablePlayerControls(bool abMovement = true, bool abFighting = true, bool abCamSwitch = true, bool abLooking = true, bool abSneaking = true, bool abMenu = true, bool abActivate = true, bool abJournalTabs = true, int aiDisablePOVType = 0)
Parameters
abMovementboolabFightingboolabCamSwitchboolabLookingboolabSneakingboolabMenuboolabActivateboolabJournalTabsboolaiDisablePOVTypeint
Returns
FadeOutGame(bool, bool, float, float)
Fades out the game to black, or vice versa
public static Task FadeOutGame(bool abFadingOut, bool abBlackFade, float afSecsBeforeFade, float afFadeDuration)
Parameters
Returns
FastTravel(IObjectReference)
Fast-travels the player to the specified object's location
public static Task FastTravel(IObjectReference akDestination)
Parameters
akDestinationIObjectReference
Returns
FindClosestActor(float, float, float, float)
Finds the closest actor within a given radius of a location
public static Task<Actor?> FindClosestActor(float afX, float afY, float afZ, float afRadius)
Parameters
Returns
FindClosestActorFromRef(IObjectReference, float)
Finds the closest actor within a given radius of a reference
public static Task<Actor?> FindClosestActorFromRef(IObjectReference arCenter, float afRadius)
Parameters
arCenterIObjectReferenceafRadiusfloat
Returns
FindClosestReferenceOfAnyTypeInList(FormList, float, float, float, float)
Finds the closest reference of any base object in the list within a given radius of a location
public static Task<ObjectReference?> FindClosestReferenceOfAnyTypeInList(FormList arBaseObjects, float afX, float afY, float afZ, float afRadius)
Parameters
Returns
FindClosestReferenceOfAnyTypeInListFromRef(FormList, IObjectReference, float)
Finds the closest reference of a given base object within a given radius of a reference
public static Task<ObjectReference?> FindClosestReferenceOfAnyTypeInListFromRef(FormList arBaseObjects, IObjectReference arCenter, float afRadius)
Parameters
arBaseObjectsFormListarCenterIObjectReferenceafRadiusfloat
Returns
FindClosestReferenceOfType(IForm, float, float, float, float)
Finds the closest reference of a given base object within a given radius of a location
public static Task<ObjectReference?> FindClosestReferenceOfType(IForm arBaseObject, float afX, float afY, float afZ, float afRadius)
Parameters
Returns
FindClosestReferenceOfTypeFromRef(IForm, IObjectReference, float)
Finds the closest reference of a given base object within a given radius of a reference
public static Task<ObjectReference?> FindClosestReferenceOfTypeFromRef(IForm arBaseObject, IObjectReference arCenter, float afRadius)
Parameters
arBaseObjectIFormarCenterIObjectReferenceafRadiusfloat
Returns
FindRandomActor(float, float, float, float)
Finds a random actor within a given radius of a location
public static Task<Actor?> FindRandomActor(float afX, float afY, float afZ, float afRadius)
Parameters
Returns
FindRandomActorFromRef(IObjectReference, float)
Finds a random actor within a given radius of a reference
public static Task<Actor?> FindRandomActorFromRef(IObjectReference arCenter, float afRadius)
Parameters
arCenterIObjectReferenceafRadiusfloat
Returns
FindRandomReferenceOfAnyTypeInList(FormList, float, float, float, float)
Finds a random reference of a any base object in the list within a given radius of a location
public static Task<ObjectReference?> FindRandomReferenceOfAnyTypeInList(FormList arBaseObjects, float afX, float afY, float afZ, float afRadius)
Parameters
Returns
FindRandomReferenceOfAnyTypeInListFromRef(FormList, IObjectReference, float)
Finds a random reference of a given base object within a given radius of a reference
public static Task<ObjectReference?> FindRandomReferenceOfAnyTypeInListFromRef(FormList arBaseObjects, IObjectReference arCenter, float afRadius)
Parameters
arBaseObjectsFormListarCenterIObjectReferenceafRadiusfloat
Returns
FindRandomReferenceOfType(IForm, float, float, float, float)
Finds a random reference of a given base object within a given radius of a location
public static Task<ObjectReference?> FindRandomReferenceOfType(IForm arBaseObject, float afX, float afY, float afZ, float afRadius)
Parameters
Returns
FindRandomReferenceOfTypeFromRef(IForm, IObjectReference, float)
Finds a random reference of a given base object within a given radius of a reference
public static Task<ObjectReference?> FindRandomReferenceOfTypeFromRef(IForm arBaseObject, IObjectReference arCenter, float afRadius)
Parameters
arBaseObjectIFormarCenterIObjectReferenceafRadiusfloat
Returns
ForceFirstPerson()
Make the player got to 1st person camera mode
public static Task ForceFirstPerson()
Returns
ForceThirdPerson()
Make the player got to 3rd person camera mode
public static Task ForceThirdPerson()
Returns
GetCameraState()
Returns the character's current camera state 0 - first person 1 - auto vanity 2 - VATS 3 - free 4 - iron sights 5 - furniture 6 - transition 7 - tweenmenu 8 - third person 1 9 - third person 2 10 - horse 11 - bleedout 12 - dragon
public static Task<int> GetCameraState()
Returns
GetCurrentConsoleRef()
Returns the currently selected ref in the console
public static Task<ObjectReference?> GetCurrentConsoleRef()
Returns
GetCurrentCrosshairRef()
Returns the current crosshair ref
public static Task<ObjectReference?> GetCurrentCrosshairRef()
Returns
GetDialogueTarget()
Returns the object reference the player is in dialogue with
public static Task<ObjectReference?> GetDialogueTarget()
Returns
GetExperienceForLevel(int)
Calculates the experience required for to level-up (fXPLevelUpBase + currentLevel * fXPLevelUpMult)
public static Task<float> GetExperienceForLevel(int currentLevel)
Parameters
currentLevelint
Returns
GetForm(int)
Returns the form specified by the ID
public static Task<Form?> GetForm(int aiFormID)
Parameters
aiFormIDint
Returns
GetFormEx(int)
Same as GetForm, but also works for formIds >= 0x80000000
public static Task<Form?> GetFormEx(int formId)
Parameters
formIdint
Returns
GetFormFromFile(int, string)
Returns the form specified by the ID originating in the given file
public static Task<Form?> GetFormFromFile(int aiFormID, string asFilename)
Parameters
Returns
GetGameSettingFloat(string)
public static Task<float> GetGameSettingFloat(string asGameSetting)
Parameters
asGameSettingstring
Returns
GetGameSettingInt(string)
public static Task<int> GetGameSettingInt(string asGameSetting)
Parameters
asGameSettingstring
Returns
GetGameSettingString(string)
public static Task<string> GetGameSettingString(string asGameSetting)
Parameters
asGameSettingstring
Returns
GetHotkeyBoundObject(int)
Returns the base form object that is bound to the specified hotkey
public static Task<Form?> GetHotkeyBoundObject(int hotkey)
Parameters
hotkeyint
Returns
GetLightModAuthor(int)
public static Task<string> GetLightModAuthor(int idx)
Parameters
idxint
Returns
GetLightModByName(string)
public static Task<int> GetLightModByName(string name)
Parameters
namestring
Returns
GetLightModCount()
public static Task<int> GetLightModCount()
Returns
GetLightModDependencyCount(int)
public static Task<int> GetLightModDependencyCount(int idx)
Parameters
idxint
Returns
GetLightModDescription(int)
public static Task<string> GetLightModDescription(int idx)
Parameters
idxint
Returns
GetLightModName(int)
public static Task<string> GetLightModName(int idx)
Parameters
idxint
Returns
GetModAuthor(int)
returns the author of the mod at the specified modIndex
public static Task<string> GetModAuthor(int modIndex)
Parameters
modIndexint
Returns
GetModByName(string)
returns the index of the specified mod
public static Task<int> GetModByName(string name)
Parameters
namestring
Returns
GetModCount()
returns the number of active mods
public static Task<int> GetModCount()
Returns
GetModDependencyCount(int)
gets the count of mods the specified mod depends upon
public static Task<int> GetModDependencyCount(int modIndex)
Parameters
modIndexint
Returns
GetModDescription(int)
returns the description of the mod at the specified modIndex
public static Task<string> GetModDescription(int modIndex)
Parameters
modIndexint
Returns
GetModName(int)
returns the name of the mod at the specified modIndex
public static Task<string> GetModName(int modIndex)
Parameters
modIndexint
Returns
GetNthLightModDependency(int, int)
public static Task<int> GetNthLightModDependency(int modIdx, int idx)
Parameters
Returns
GetNthTintMaskColor(int)
Returns the color of the Nth tint mask
public static Task<int> GetNthTintMaskColor(int n)
Parameters
nint
Returns
GetNthTintMaskTexturePath(int)
Returns the texture path of the Nth tint mask
public static Task<string> GetNthTintMaskTexturePath(int n)
Parameters
nint
Returns
GetNthTintMaskType(int)
Returns the type of the Nth tint mask
public static Task<int> GetNthTintMaskType(int n)
Parameters
nint
Returns
GetNumTintMasks()
Returns the total number of tints for the player
public static Task<int> GetNumTintMasks()
Returns
GetNumTintsByType(int)
Returns how many indexes there are for this type
[Obsolete("Uses the Papyrus virtual machine. Prefer PlayerCharacter.GetNumTints(uint).", DiagnosticId = "SKYRIMFORGE0002")]
public static Task<int> GetNumTintsByType(int type)
Parameters
typeint
Returns
GetPerkPoints()
public static Task<int> GetPerkPoints()
Returns
GetPlayer()
Returns the player actor
public static Task<Actor?> GetPlayer()
Returns
GetPlayerExperience()
Returns the players experience for this level (not total experience)
public static Task<float> GetPlayerExperience()
Returns
GetPlayerGrabbedRef()
Returns the reference the player is currently grabbing
public static Task<ObjectReference?> GetPlayerGrabbedRef()
Returns
GetPlayerMovementMode()
Returns true if in run mode, false if in walk mode Does not reflect actual movement state, only the control mode
public static Task<bool> GetPlayerMovementMode()
Returns
GetPlayersLastRiddenHorse()
Returns the horse last ridden by the player
public static Task<Actor?> GetPlayersLastRiddenHorse()
Returns
GetRealHoursPassed()
Returns the number of days spent in play
public static Task<float> GetRealHoursPassed()
Returns
GetSkillLegendaryLevel(string)
Returns the legendary level for the skill -1 indicates the particular skill cannot have a legendary level DEPRECATED
[Obsolete("Game.psc deprecates GetSkillLegendaryLevel.", DiagnosticId = "SKYRIMFORGE0003")]
public static Task<int> GetSkillLegendaryLevel(string actorValue)
Parameters
actorValuestring
Returns
GetSunPositionX()
Returns the X position of the Sun.
public static Task<float> GetSunPositionX()
Returns
GetSunPositionY()
Returns the Y position of the Sun.
public static Task<float> GetSunPositionY()
Returns
GetSunPositionZ()
Returns the Z position of the Sun.
public static Task<float> GetSunPositionZ()
Returns
GetTintMaskColor(int, int)
Returns the color for the particular tintMask type and index
public static Task<int> GetTintMaskColor(int type, int index)
Parameters
Returns
GetTintMaskTexturePath(int, int)
Returns the texture path for the particular tintMask type and index
public static Task<string> GetTintMaskTexturePath(int type, int index)
Parameters
Returns
HideTitleSequenceMenu()
public static Task HideTitleSequenceMenu()
Returns
IncrementSkill(string)
Increment the given skill on the player by the one point
public static Task IncrementSkill(string asSkillName)
Parameters
asSkillNamestring
Returns
IncrementSkillBy(string, int)
Increment the given skill on the player by the given number of points
public static Task IncrementSkillBy(string asSkillName, int aiCount)
Parameters
Returns
IncrementStat(string, int)
Modifies the specified MiscStat by the given amount.
public static Task IncrementStat(string asStatName, int aiModAmount = 1)
Parameters
Returns
IsActivateControlsEnabled()
Are the activation controls enabled?
public static Task<bool> IsActivateControlsEnabled()
Returns
IsCamSwitchControlsEnabled()
Are the camera switch controls enabled?
public static Task<bool> IsCamSwitchControlsEnabled()
Returns
IsFastTravelControlsEnabled()
Is fast travel controls enabled? Returns false if EnableFastTravel(false) has been called
public static Task<bool> IsFastTravelControlsEnabled()
Returns
IsFastTravelEnabled()
Is fast travel enabled?
public static Task<bool> IsFastTravelEnabled()
Returns
IsFightingControlsEnabled()
Are the fighting controls enabled?
public static Task<bool> IsFightingControlsEnabled()
Returns
IsJournalControlsEnabled()
Are the journal menu controls enabled?
public static Task<bool> IsJournalControlsEnabled()
Returns
IsLookingControlsEnabled()
Are the looking controls enabled?
public static Task<bool> IsLookingControlsEnabled()
Returns
IsMenuControlsEnabled()
Are the menu controls enabled?
public static Task<bool> IsMenuControlsEnabled()
Returns
IsMovementControlsEnabled()
Are the movement controls enabled?
public static Task<bool> IsMovementControlsEnabled()
Returns
IsObjectFavorited(IForm)
Returns if base form is favorited by the player
public static Task<bool> IsObjectFavorited(IForm form)
Parameters
formIForm
Returns
IsPlayerSungazing()
Is the player looking at the sun?
public static Task<bool> IsPlayerSungazing()
Returns
IsPluginInstalled(string)
public static Task<bool> IsPluginInstalled(string name)
Parameters
namestring
Returns
IsSneakingControlsEnabled()
Are the sneaking controls enabled?
public static Task<bool> IsSneakingControlsEnabled()
Returns
IsWordUnlocked(WordOfPower)
Is the specified Word of Power Unlocked?
public static Task<bool> IsWordUnlocked(WordOfPower akWord)
Parameters
akWordWordOfPower
Returns
LoadGame(string)
public static Task LoadGame(string name)
Parameters
namestring
Returns
ModPerkPoints(int)
public static Task ModPerkPoints(int perkPoints)
Parameters
perkPointsint
Returns
PlayBink(string, bool, bool, bool, bool)
Plays a bink video - does not return until bink has finished, use with care!
public static Task PlayBink(string asFileName, bool abInterruptible = false, bool abMuteAudio = true, bool abMuteMusic = true, bool abLetterbox = true)
Parameters
Returns
PrecacheCharGen()
Precaches character gen data.
public static Task PrecacheCharGen()
Returns
PrecacheCharGenClear()
Clears Precached character gen data.
public static Task PrecacheCharGenClear()
Returns
QueryStat(string)
Queries the given stat and returns its value
public static Task<int> QueryStat(string asStat)
Parameters
asStatstring
Returns
QuitToMainMenu()
Forces the game back to the main menu
public static Task QuitToMainMenu()
Returns
RemoveHavokConstraints(IObjectReference, string, IObjectReference, string)
Removes any constraint between two rigid bodies
public static Task<bool> RemoveHavokConstraints(IObjectReference arFirstRef, string arFirstRefNodeName, IObjectReference arSecondRef, string arSecondRefNodeName)
Parameters
arFirstRefIObjectReferencearFirstRefNodeNamestringarSecondRefIObjectReferencearSecondRefNodeNamestring
Returns
RequestAutoSave()
Request that an auto-save be made
public static Task RequestAutoSave()
Returns
RequestModel(string)
Requests the specified model
public static Task RequestModel(string asModelName)
Parameters
asModelNamestring
Returns
RequestSave()
Request that a normal save be made
public static Task RequestSave()
Returns
SaveGame(string)
public static Task SaveGame(string name)
Parameters
namestring
Returns
SendWereWolfTransformation()
Finds an actor in high who can detect the player to call werewolf crime on the player
public static Task SendWereWolfTransformation()
Returns
ServeTime()
Has the player serve their prison time
public static Task ServeTime()
Returns
SetAllowFlyingMountLandingRequests(bool)
Allow or disallow player requests to have a flying mount land.
public static Task SetAllowFlyingMountLandingRequests(bool abAllow)
Parameters
abAllowbool
Returns
SetBeastForm(bool)
Called as we enter/exit beast form
public static Task SetBeastForm(bool abEntering)
Parameters
abEnteringbool
Returns
SetCameraTarget(IActor)
Sets the camera target actor
public static Task SetCameraTarget(IActor arTarget)
Parameters
arTargetIActor
Returns
SetGameSettingBool(string, bool)
public static Task SetGameSettingBool(string setting, bool value)
Parameters
Returns
SetGameSettingFloat(string, float)
public static Task SetGameSettingFloat(string setting, float value)
Parameters
Returns
SetGameSettingInt(string, int)
public static Task SetGameSettingInt(string setting, int value)
Parameters
Returns
SetGameSettingString(string, string)
public static Task SetGameSettingString(string setting, string value)
Parameters
Returns
SetHudCartMode(bool)
Sets or clears "cart mode" for the HUD
public static Task SetHudCartMode(bool abSetCartMode = true)
Parameters
abSetCartModebool
Returns
SetInChargen(bool, bool, bool)
Informs the game whether we are in CharGen or not
public static Task SetInChargen(bool abDisableSaving, bool abDisableWaiting, bool abShowControlsDisabledMessage)
Parameters
Returns
SetMiscStat(string, int)
set a misc stat value use QueryStat to read the value
public static Task SetMiscStat(string name, int value)
Parameters
Returns
SetNthTintMaskColor(int, int)
Sets the color of the Nth tint mask
public static Task SetNthTintMaskColor(int n, int color)
Parameters
Returns
SetNthTintMaskTexturePath(string, int)
Sets the texturepath of the Nth tint mask
public static Task SetNthTintMaskTexturePath(string path, int n)
Parameters
Returns
SetPerkPoints(int)
public static Task SetPerkPoints(int perkPoints)
Parameters
perkPointsint
Returns
SetPlayerAIDriven(bool)
Enables or disables the AI driven flag on Player
[Obsolete("Uses the Papyrus virtual machine. Prefer PlayerCharacter.SetAIDriven(bool).", DiagnosticId = "SKYRIMFORGE0002")]
public static Task SetPlayerAIDriven(bool abAIDriven = true)
Parameters
abAIDrivenbool
Returns
SetPlayerExperience(float)
Sets the players experience, does not trigger level-up notification
public static Task SetPlayerExperience(float exp)
Parameters
expfloat
Returns
SetPlayerLevel(int)
Sets the player level
public static Task SetPlayerLevel(int level)
Parameters
levelint
Returns
SetPlayerReportCrime(bool)
Enables or disables crime reporting on Player
public static Task SetPlayerReportCrime(bool abReportCrime = true)
Parameters
abReportCrimebool
Returns
SetPlayersLastRiddenHorse(IActor)
Sets the players last ridden horse, None will clear the lastRiddenHorse
public static Task SetPlayersLastRiddenHorse(IActor horse)
Parameters
horseIActor
Returns
SetSittingRotation(float)
Set the players sitting camera rotation - in degrees, offset from the standard angle.
public static Task SetSittingRotation(float afValue)
Parameters
afValuefloat
Returns
SetSkillLegendaryLevel(string, int)
Sets the legendary level for the skill DEPRECATED
[Obsolete("Game.psc deprecates SetSkillLegendaryLevel.", DiagnosticId = "SKYRIMFORGE0003")]
public static Task SetSkillLegendaryLevel(string actorValue, int level)
Parameters
Returns
SetSunGazeImageSpaceModifier(ImageSpaceModifier?)
Sets the Image Space Modifier that is triggered when the player gazes at the sun.
public static Task SetSunGazeImageSpaceModifier(ImageSpaceModifier? apImod = null)
Parameters
apImodImageSpaceModifier?
Returns
SetTintMaskColor(int, int, int)
Sets the tintMask color for the particular type and index
public static Task SetTintMaskColor(int color, int type, int index)
Parameters
Returns
SetTintMaskTexturePath(string, int, int)
Sets the tintMask texture for the particular type and index
public static Task SetTintMaskTexturePath(string path, int type, int index)
Parameters
Returns
ShakeCamera(IObjectReference?, float, float)
Shakes the object from the location of the passed-in object. If none, it will shake the camera from the player's location. Strength is clamped from 0 to 1 Duration in seconds. By default (0.0) use the game setting.
[Obsolete("Uses the Papyrus virtual machine. Prefer GameTarget.ShakeCamera(IObjectReference, float, float).", DiagnosticId = "SKYRIMFORGE0002")]
public static Task ShakeCamera(IObjectReference? akSource = null, float afStrength = 0.5, float afDuration = 0)
Parameters
akSourceIObjectReferenceafStrengthfloatafDurationfloat
Returns
ShakeController(float, float, float)
Shakes the controller for the specified length of time (in seconds). The strength values are clamped from 0 to 1
public static Task ShakeController(float afSmallMotorStrength, float afBigMotorStreangth, float afDuration)
Parameters
Returns
ShowFirstPersonGeometry(bool)
Show the players first person geometry.
public static Task ShowFirstPersonGeometry(bool abShow = true)
Parameters
abShowbool
Returns
ShowLimitedRaceMenu()
public static Task ShowLimitedRaceMenu()
Returns
ShowRaceMenu()
public static Task ShowRaceMenu()
Returns
ShowTitleSequenceMenu()
public static Task ShowTitleSequenceMenu()
Returns
ShowTrainingMenu(IActor)
Displays the training menu based on passed in trainer actor
public static Task ShowTrainingMenu(IActor aTrainer)
Parameters
aTrainerIActor
Returns
StartTitleSequence(string)
public static Task StartTitleSequence(string asSequenceName)
Parameters
asSequenceNamestring
Returns
TeachWord(WordOfPower)
Teaches the specified word of power to the player
public static Task TeachWord(WordOfPower akWord)
Parameters
akWordWordOfPower
Returns
TriggerScreenBlood(int)
Trigger screen blood with the given count
public static Task TriggerScreenBlood(int aiValue)
Parameters
aiValueint
Returns
UnbindObjectHotkey(int)
Hotkeys 0-7 reflect keys 1-8 Unbinds a favorited item bound to the specified hotkey
public static Task UnbindObjectHotkey(int hotkey)
Parameters
hotkeyint
Returns
UnlockWord(WordOfPower)
Unlocks the specified word of power so the player can use it
public static Task UnlockWord(WordOfPower akWord)
Parameters
akWordWordOfPower
Returns
UpdateHairColor()
Updates the players hair color immediately
public static Task UpdateHairColor()
Returns
UpdateThirdPerson()
Updates the camera when changing Shoulder positions
[Obsolete("Uses the Papyrus virtual machine. Prefer PlayerCamera.UpdateThirdPerson(bool).", DiagnosticId = "SKYRIMFORGE0002")]
public static Task UpdateThirdPerson()
Returns
UpdateTintMaskColors()
Updates tintMask colors without updating the entire model
public static Task UpdateTintMaskColors()
Returns
UsingGamepad()
Returns true if we're using a gamepad
public static Task<bool> UsingGamepad()