Inheritance Tree
No indexed scripts extend this script.
Properties
Events
Functions
Adds the specified achievement/trophy to the player's gamer profile.
Adds the specified number of perk points to the player. The result is clamped at 255. This will enable the player to choose additional perks.
Advances the progress of the provided Skill by the given amount (for the player only).
Adds a constraint between two rigid bodies of two references
Removes a constraint between two rigid bodies of two references
Calculates how many favor points the player would have to spend to pay for a favor with the specified price.
Clears all prison variables on the player character so the game will know he is out of prison.
Clears all temp effects (such as terrain effects) in the game.
Selectively disables the player's controls.
Selectively enables the player's controls.
Enables or disables the player's ability to fast travel.
FadeOutGame uses the in-game Fader menu to fade the game to black, or vice versa.
Fast-travels the player to the specified ObjectReference's location.
Finds the closest ObjectReference of the given type from the given location and within the given radius.
Finds a random ObjectReference of the given type from the given location and within the given radius.
Finds the closest ObjectReference of any of the types in the list from the given location and within the given radius.
Finds a random ObjectReference of any of the types in the list from the given location and within the given radius.
Finds the closest ObjectReference of the given type from the location of the target ObjectReference and within the given radius.
Finds a random ObjectReference of the given type from the center of the target ObjectReference and within the given radius.
Finds the closest ObjectReference of any of the types in the list around the target ObjectReference and within the given radius.
Finds a random ObjectReference of any of the types in the list from the given ObjectReference location and within the given radius.
Finds the closest Actor within a given radius of a location.
Finds a random Actor within a given radius of a location.
Finds the closest Actor within a given radius of a ObjectReference.
Finds a random Actor within a given radius of a ObjectReference.
Force the player to go in to 3rd person camera mode.
Force the player to go in to 1st person camera mode.
Show/Hide the players first person geometry.
Obtains the form specified by its form ID number which originated in the specified file. The ID for a form changes based on the load order of the file it loaded from. So a form which shows up as 0101ABCD in the editor may show up as 0401ABCD in game depending on how many other files load before it. This function lets you blindly grab a form based on the lower bytes of its ID and the expected file which created the form.
Obtains the value of the specified float game setting
Obtains the value of the specified int game setting
Obtains the value of the specified string game setting
Obtains the reference the player is currently grabbing.
Obtains the horse last ridden by the player.
Gets the X position of the sun.
Gets the Y position of the sun.
Gets the Z position of the sun.
Returns the number of real-life hours the player has been playing.
Advances the provided Skill by the one point (for the player only).
Advances the provided Skill by the given number of points (for the player only).
Modifies the specified misc stat by the given amount.
Checks to see if activation controls are currently enabled or not.
Checks to see if camera switch controls are currently enabled or not.
Checks to see whether or not fast travel is allowed by script.
Checks to see if fast travel is currently enabled or not.
Checks to see if fighting controls are currently enabled or not.
Checks to see if journal menu controls are currently enabled or not.
Checks to see if looking controls are currently enabled or not.
Checks to see if menu controls are currently enabled or not.
Checks to see if movement controls are currently enabled or not.
Checks to the see if the player is looking directly at the sun.
Checks to see if sneaking controls are currently enabled or not.
Is the specified WordOfPower unlocked?
Precaches all the data used by character gen to avoid hitches with file i/o.
Clears all the previously cached data used by character gen.
Force the game back to the main menu.
Requests an auto-save to be made. Note that the save may take a moment or so to happen, and will not work while in a game menu such as the inventory screen. If you need to trigger it from within a menu, add Utility.Wait(0.1) to pause your script until the player closes all menus (since Utility.Wait() does not count menu time).
Requests the specified model (usually because we're going to need it soon).
Requests a normal save to be made. Note that the save may take a moment or so to happen, and will not work while in a game menu such as the inventory screen. If you need to trigger it from within a menu, add Utility.Wait(0.1) to pause your script until the player closes all menus (since Utility.Wait() does not count menu time).
Has an actor in high who can detect the player call a werewolf crime against the player
Informs the code that the player has entered or exited beast form. Disables / enables beast form controls and functionality.
Sets the current target for the player's camera.
Sets or clears "cart mode" for the HUD.
Tells the game that we're in the initial "character generation" quest. Used to enable / disable certain functionality, e.g. enable tutorials, disable saving, etc.
Set the state of the player as AI driven to allow for the player run packages
Set the state of the player as an actor who commits crimes
Set the sitting offset for the players camera.
Shakes the camera from the specified object's location, with the specified strength. The optional duration can be used to define how long to shake the camera. If no duration is provided then the fCameraShakeTime game setting will be used for duration.
Shakes the controller with the specified strength, for the specified length of time.
Shows the race/sex change menu.
Shows the race/sex change menu, but without the ability to change name or sex.
Start the title sequence menu
Kill the Title Sequence Menu
Run a given animation in the title menu.
Enables/disables player requests to have a flying mount land.
Will cause the specified ImageSpace Modifier to be triggered when the player begins looking at the sun.
Shows the training menu.
Teaches the specified WordOfPower to the player.
Trigger on-screen blood splatter.
Unlocks the specified WordOfPower so the player can use it in shouts. No message is shown on the screen. Also marks the word as known (ie. you do not need to spend a dragon soul to activate it), but unlike Game.TeachWord(...) does not add the corresponding shout to the player's inventory.
Returns true if we're using a gamepad.
- Found in:
- SKSE
Returns the number of perk points available to the player. (This function requires SKSE)
- Found in:
- SKSE
Sets the number of perk points available to the player. (This function requires SKSE)
- Found in:
- SKSE
Modifies the number of perk points available to the player by the specified amount. (This function requires SKSE)
- Found in:
- SKSE
Returns the number of mods currently active. (This function requires SKSE)
- Found in:
- SKSE
Returns the load order index of the target plugin. (This function requires SKSE)
- Found in:
- SKSE
Returns the name of the mod at the specified Index. (This function requires SKSE)
- Found in:
- SKSE
Returns the Mod Author of the specified mod Index. (This function requires SKSE)
- Found in:
- SKSE
Returns the specified mod indexes description. (This function requires SKSE)
- Found in:
- SKSE
Returns the count of mods that the specified mod depends upon. (This function requires SKSE)
- Found in:
- SKSE
- Found in:
- SKSE
Returns the number of light mods currently active. (This function requires SKSE)
- Found in:
- SKSE
- Found in:
- SKSE
- Found in:
- SKSE
- Found in:
- SKSE
- Found in:
- SKSE
- Found in:
- SKSE
- Found in:
- SKSE
Modifies the value of float Game Settings. (This function requires SKSE)
- Found in:
- SKSE
Modifies the value of integer Game Settings. (This function requires SKSE)
- Found in:
- SKSE
Modifies the value of boolean Game Settings. (This function requires SKSE)
- Found in:
- SKSE
Modifies the value of string Game Settings. (This function requires SKSE)
- Found in:
- SKSE
Returns the total number of tints masks for the player.
- Found in:
- SKSE
Returns the color of the nth tint mask.
- Found in:
- SKSE
Return the type of the nth tint mask.
- Found in:
- SKSE
Sets the color of the nth tint mask.
- Found in:
- SKSE
Returns the texture path of the Nth tint mask
- Found in:
- SKSE
Sets the texturepath of the Nth tint mask
- Found in:
- SKSE
Returns how many indexes there are for this type
- Found in:
- SKSE
Returns the color for the particular tintMask type and index
- Found in:
- SKSE
Sets the tintMask color for the particular type and index
- Found in:
- SKSE
Returns the texture path for the particular tintMask type and index
- Found in:
- SKSE
Sets the tintMask texture for the particular type and index
- Found in:
- SKSE
Updates tintMask colors without updating the entire model
- Found in:
- SKSE
Instantly updates the player's hair color.
- Found in:
- SKSE
Returns the character's current camera state. (This function requires SKSE)
- Found in:
- SKSE
set a misc stat value
use QueryStat to read the value
- Found in:
- SKSE
Sets the players last ridden horse, None will clear the lastRiddenHorse
- Found in:
- SKSE
Gets the legendary level of the specified actor value.
- Found in:
- SKSE
Sets the legendary level of the specified actor value to the specified value.
- Found in:
- SKSE
Returns the current amount of experience for the current level. (This function requires SKSE.)
- Found in:
- SKSE
Sets the amount of experience for the current level. (This function requires SKSE.)
- Found in:
- SKSE
Returns the required amount of experience for the next level up. (This function requires SKSE.)
- Found in:
- SKSE
Returns true if in run mode, false if in walk mode
Does not reflect actual movement state, only the control mode
- Found in:
- SKSE
Updates the camera when changing Shoulder positions
- Found in:
- SKSE
Hotkeys 0-7 reflect keys 1-8
Unbinds a favorited item bound to the specified hotkey
- Found in:
- SKSE
Returns the base form object that is bound to the specified hotkey
- Found in:
- SKSE
Returns whether the form is favorited by the player or not.
- Found in:
- SKSE
Returns the object reference the player is in dialogue with
- Found in:
- SKSE
Returns the current crosshair ref
- Found in:
- SKSE
Returns the currently selected ref in the console
- Found in:
- SKSE
Sets the player level
