PO3_SKSEFunctions
- Found in:
- PO3's PE
Inheritance Tree
No indexed scripts extend this script.
Properties
Events
Functions
- Found in:
- PO3's PE
- Returns all scripts attached to this active effect.
- Found in:
- PO3's PE
boolfunctionIsScriptAttachedToActiveEffect(ActiveMagicEffectakActiveEffect, stringasScriptName)NativeGlobal
- Returns whether the activeEffect has script attached. If scriptName is empty, it will return if the activeEffect has any non-base scripts attached
- Found in:
- PO3's PE
- Returns the spell or form responsible for this active effect
- Found in:
- PO3's PE
- Gets all magiceffects currently on the actor. Filters out inactive and hideinui spells.
- Found in:
- PO3's PE
- Found in:
- PO3's PE
| Type | Value |
|---|---|
| Normal | 0 |
| Explode | 1 |
| ExplodeLeadIn | 2 |
| Out | 3 |
| OutLeadIn | 4 |
| Queued | 5 |
| GetUp | 6 |
| Down | 7 |
- Gets actor knock down state
- Found in:
- PO3's PE
- Found in:
- PO3's PE
[DEV SERVER] Loading description...
- Found in:
- PO3's PE
- Gets actor soul size
- Found in:
- PO3's PE
| Type | Value |
|---|---|
| Permanent | 0 |
| Temporary | 1 |
| Damage | 2 |
- Found in:
- PO3's PE
- Get all spells (not abilities) on the actor
- Found in:
- PO3's PE
- See Actor.SetCriticalStage(...)
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Gets all summons commanded by this actor
- Found in:
- PO3's PE
- Gets the owner of summoned actor
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Checks if the equipped weapon is poisoned
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Gets poison dose on equipped weapon
- Found in:
- PO3's PE
- Gets weight of all equipped items.
- Found in:
- PO3's PE
- Gets current hair color on actor.
- Fails if hair headpart doesn't exist
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Gets the actor's current gravity.
- Found in:
- PO3's PE
- Gets object under actor's feet (eg. table).
- Does not work if the player is standing on the ground.
- Found in:
- PO3's PE
- Returns true if the actor is offering services (ie. barter)
- Found in:
- PO3's PE
DEPRECATED
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- How long the actor has been dead for
- Returns 0.0 if actor is alive
- Found in:
- PO3's PE
- Returns time of death in game days passed
- Found in:
- PO3's PE
- Get vendor faction of actor
- Found in:
- PO3's PE
- HasMagicEffect but checks if the mgef is present on the actor (i.e active and not dispelled)
- Found in:
- PO3's PE
- HasSpell but checks if the spell is present on the actor (i.e active and not dispelled)
- Found in:
- PO3's PE
- Returns whether the actor is in deferred kill mode
- Found in:
- PO3's PE
- Checks if activemagiceffect with given archetype is present on actor. See Magic Effect
- Found in:
- PO3's PE
- Returns whether the actor is in cell water or lava
- Found in:
- PO3's PE
- Found in:
- PO3's PE
| Limb | Value |
|---|---|
| None | -1 |
| Torso | 0 |
| Head | 1 |
- Returns whether limb is gone (i.e, the head)
- Found in:
- PO3's PE
- Is actor power attacking?
- Found in:
- PO3's PE
- Is actor a quadruped?
- Found in:
- PO3's PE
- Returns whether target is soul trapped / capable of being soul trapped successfully (if using mods that bypass vanilla soul trap system).
- Found in:
- PO3's PE
boolfunctionApplyPoisonToEquippedWeapon(ActorakActor, PotionakPoison, intaiCount, boolabLeftHand)NativeGlobal
- Applies poison with specified dose to the equipped weapon. Weapon must not have poison applied (to modify existing poisons, see
SetEquippedWeaponPoison)
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Adds perks to the actorbase, works on leveled actors/unique NPCs.
- Function serializes data to skse cosave, so perks are applied correctly on loading/reloading saves.
- Found in:
- PO3's PE
- Adds spells to actorbase
- Function serializes data to skse cosave.
- Found in:
- PO3's PE
voidfunctionBlendColorWithSkinTone(ActorakActor, ColorFormakColor, intaiBlendMode, boolabAutoLuminance, floatafOpacity)NativeGlobal
[DEV SERVER] Loading description...
- Found in:
- PO3's PE
- Damage actor health, passing an optional actor to blame.
- Returns if the actor was damaged successfully.
- Found in:
- PO3's PE
- Decapitates living and dead actors. Living actors will not die when this is called!
- Found in:
- PO3's PE
| Type | Description |
|---|---|
| 0 | Disables AI (freeze in place) |
| 1 | Paralyze (Paralyze with stiff ragdoll) |
- Found in:
- PO3's PE
- Quick and dirty hack to instantly kill the actor and set as dead.
- Found in:
- PO3's PE
voidfunctionLaunchArrow(ActorakActor, AmmoakAmmo, WeaponakWeapon, stringasNodeName="", intaiSource=-1, ObjectReferenceakTarget=NONE, PotionakPoison=NONE)NativeGlobal
| Type | Description |
|---|---|
| -1 | Uses node name or default weapon node if empty |
| 0 | Left hand node |
| 1 | Right hand node |
| 2 | Head node |
- Launch arrow from given node (with optional target and poison applied)
- Found in:
- PO3's PE
| Type | Description |
|---|---|
| 0 | Left hand |
| 1 | Right hand |
| 2 | Voice |
| 3 | Instant |
- Launch spell projectile from casting source
- Found in:
- PO3's PE
voidfunctionMixColorWithSkinTone(ActorakActor, ColorFormakColor, boolabManualMode, floatafPercentage)NativeGlobal
- Blends existing skin color with specified color.
- True - intensity is manually calculated using percentage 0-1.0, False - automatically calculated using skin tone luminance
- Found in:
- PO3's PE
voidfunctionRemoveAddedSpells(ActorakActor, stringmodName, Keyword[]keywords, boolabMatchAll)NativeGlobal
- Found in:
- PO3's PE
voidfunctionRemoveArmorOfType(ActorakActor, intafArmorType, int[]aiSlotsToSkip, boolabEquippedOnly)NativeGlobal
- Found in:
- PO3's PE
- Perk effects may not be removed from unique actors, more testing required.
- Function serializes data to skse cosave
- Found in:
- PO3's PE
- Function serializes data to skse cosave
- Found in:
- PO3's PE
voidfunctionReplaceArmorTextureSet(ActorakActor, ArmorakArmor, TextureSetakSourceTXST, TextureSetakTargetTXST, intaiTextureType=-1)NativeGlobal
- Replaces specified source textureset on worn armor with target textureset.
- If texture type is -1, the entire textureset is replaced.
- Otherwise the texture map specified at [textureType] index is replaced (diffuse is 0, normal is 1...)
- Found in:
- PO3's PE
voidfunctionReplaceFaceTextureSet(ActorakActor, TextureSetakMaleTXST, TextureSetakFemaleTXST, intaiTextureType=-1)NativeGlobal
- Replaces face textureset. Can be applied to non-unique actors.
- If texture type is -1, the entire textureset is replaced
- Otherwise the texture map specified at [textureType] index is replaced.
- Replacing the entire textureset may cause a visible neckseam.
- Found in:
- PO3's PE
voidfunctionReplaceSkinTextureSet(ActorakActor, TextureSetakMaleTXST, TextureSetakFemaleTXST, intaiSlotMask, intaiTextureType=-1)NativeGlobal
- Replaces skin textureset for given slotmask (ie. body/hand).
- Has to be reapplied when re-equipping armor.
- If texture type is -1, the entire textureset is replaced, otherwise the texture map specified at [textureType] index is replaced.
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Ranges from 0.0 - 1.0
- Found in:
- PO3's PE
- Set poison on equipped weapon (weapon must have poison already applied)
- Found in:
- PO3's PE
- Set poison dose on equipped weapon (weapon must have poison already applied)
- Found in:
- PO3's PE
*Changes may persist throughout gaming session, even when reloading previous saves.
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Sets actor velocity.
- Found in:
- PO3's PE
voidfunctionSetLocalGravityActor(ActorakActor, floatafValue, boolabDisableGravityOnGround)NativeGlobal
- Sets actor gravity.
- Negative values will cause them to fly.
- Found in:
- PO3's PE
- Sets alpha on face, base skin form and armor meshes with visible skin.
- Has to be re-applied when armor is un/re-equipped.
- Found in:
- PO3's PE
- Sets skin color (face and body).
- Face shader is switched to
FaceGenRGBTintto allow tint changes. Tintmasks will no longer work. - Has to be re-applied when armor is un/re-equipped.
- Found in:
- PO3's PE
- Sets the flag used by the game to determine soul trapped NPCs
- Found in:
- PO3's PE
- Toggles any hair wigs (geometry with hair shader) found on slots Hair/LongHair
- Found in:
- PO3's PE
| Types | Value |
|---|---|
| Light | 0 |
| Heavy | 1 |
| Clothing | 2 |
- Unequips all armor of type, optionally skipping biped slots.
- Found in:
- PO3's PE
- Get association type between 2 NPCs, if any
- Found in:
- PO3's PE
- Gets NPC death item
- Found in:
- PO3's PE
- Get actorbase perk at nth index
- Found in:
- PO3's PE
- Get total actorbase perk count
- Found in:
- PO3's PE
- Gets list of actorbases by association type, OR all actors with relationships if association type is None
- Found in:
- PO3's PE
- Sets NPC death item.
- Can be None.
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Returns whether the form has script attached. If scriptName is empty, it will return if the alias has any non-base scripts attached
- Found in:
- PO3's PE
- Gets armor addon's footstep set
- Found in:
- PO3's PE
- Sets armor addon's footstep set
- Found in:
- PO3's PE
string[]functionGetSortedActorNames(KeywordakKeyword, stringasPlural="s)", boolabInvertKeyword)NativeGlobal
- Gets name array of all the actors in the area, sorted alphabetically.
- Generic actors are merged (ie. 3 Whiterun Guard(s)).
- Filter keyword optional
- Found in:
- PO3's PE
- Gets name array of NPCs, sorted alphabetically.
- Generic actors are merged (ie. 3 Whiterun Guard(s)).
- Found in:
- PO3's PE
- Adds actor to array. Modifies array directly, it must be initialized!
- Found in:
- PO3's PE
- Adds string to array. Modifies array directly, it must be initialized!
- Found in:
- PO3's PE
- Counts how many instances of a string are in an array.
- Found in:
- PO3's PE
- Alphabetically sorts and returns truncated string array.
- Found in:
- PO3's PE
- Clears can't be taken flag
- Found in:
- PO3's PE
- Clears read flag (and writes it to the save).
- Found in:
- PO3's PE
- Sets can't be taken flag.
- Found in:
- PO3's PE
- Sets read flag (and writes it to the save).
- Found in:
- PO3's PE
- Gets cell north rotation/worldspace north rotation for exterior cells. Rotation is in degrees.
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Adds all usable spells to the player, and adds mod prefix to each spell name.
- Found in:
- PO3's PE
- Dumps current actor animation variables to po3_papyrusextender64.log
- Found in:
- PO3's PE
| State | Description |
|---|---|
| 0 | Can't be detected |
| 1 | Normal |
| 2 | Will always be detected |
- Returns whether other NPCs can detect this actor.
- Found in:
- PO3's PE
| State | Description |
|---|---|
| 0 | Can never detect others |
| 1 | Normal |
| 2 | Will always detect others |
- Returns whether this actor can detect other NPCs.
- Found in:
- PO3's PE
- Returns whether this actor is currently detected by other NPCs
- Ignores NPCs with
DoNotShowOnStealthMeterflag
- Found in:
- PO3's PE
- Force this actor to be always detected by other NPCs
- Found in:
- PO3's PE
- Force this actor to always detect their targets
- Found in:
- PO3's PE
- Prevent this actor from being detected by other NPCs (actor is hidden).
- Found in:
- PO3's PE
- Prevent this actor from detecting other NPCs (actor is blind)
- Found in:
- PO3's PE
- Resets detection state
- Found in:
- PO3's PE
- Resets detecting state
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Returns the total number of effect shaders present/present and active (on objects) within the loaded area.
- Found in:
- PO3's PE
[DEV SERVER] Loading description...
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
voidfunctionSetMembraneColorKeyData(EffectShaderakEffectShader, intaiColorKey, int[]aiRGB, floatafAlpha, floatafTime)NativeGlobal
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
voidfunctionSetParticleColorKeyData(EffectShaderakEffectShader, intaiColorKey, int[]aiRGB, floatafAlpha, floatafTime)NativeGlobal
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
voidfunctionSetParticlePersistentCount(EffectShaderakEffectShader, floatafParticleCount)NativeGlobal
- Found in:
- PO3's PE
- Found in:
- PO3's PE
| Type | Value |
|---|---|
| None | -1 |
| Enchantment | 6 |
| StaffEnchantment | 12 |
- Returns enchantment type. -1 if is None
- Found in:
- PO3's PE
voidfunctionAddMagicEffectToEnchantment(EnchantmentakEnchantment, MagicEffectakMagicEffect, floatafMagnitude, intaiArea, intaiDuration, floatafCost=0.0, string[]asConditionList)NativeGlobal
- Found in:
- PO3's PE
voidfunctionAddEffectItemToEnchantment(EnchantmentakEnchantment, EnchantmentakEnchantmentToCopyFrom, intaiIndex, floatafCost=-1)NativeGlobal
- Found in:
- PO3's PE
voidfunctionRemoveMagicEffectFromEnchantment(EnchantmentakEnchantment, MagicEffectakMagicEffect, floatafMagnitude, intaiArea, intaiDuration, floatafCost=0.0)NativeGlobal
- Found in:
- PO3's PE
voidfunctionRemoveEffectItemFromEnchantment(EnchantmentakEnchantment, EnchantmentakEnchantmentToMatchFrom, intaiIndex)NativeGlobal
- Found in:
- PO3's PE
voidfunctionSetEnchantmentMagicEffect(EnchantmentakEnchantment, MagicEffectakMagicEffect, intaiIndex)NativeGlobal
- Found in:
- PO3's PE
- Gets vendor chest reference, if it exists
- Found in:
- PO3's PE
- Get all actors belonging to this faction
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
boolfunctionEvaluateConditionList(FormakForm, ObjectReferenceakActionRef, ObjectReferenceakTargetRef)NativeGlobal
- Evaluates condition lists for spells/potions/enchantments/mgefs and returns if they can be fullfilled
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Builds a list of conditions present on the form. Index is for spells/other forms that have lists with conditions
- Some conditions may be skipped (conditions that require non player references, overly complex conditions involving packages/aliases)
- Found in:
- PO3's PE
- Gets form description text, if any
- Found in:
- PO3's PE
- Get form editorID
- Requires powerofthree's Tweaks
- Found in:
- PO3's PE
- Get name of the mod the form originates from (or was last modified by)
- Found in:
- PO3's PE
- Get all non-base scripts attached to this form
- Found in:
- PO3's PE
- Returns whether the form is part of mod
- Found in:
- PO3's PE
- Returns whether the form is temporary (ie. has a formID beginning with FF)
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- returns whether the form has script attached. If scriptName is empty, it will return if the form has any non-base scripts attached
- Found in:
- PO3's PE
- Set record flag
- Found in:
- PO3's PE
- Adds keyword to form. Fails if the form doesn't accept keywords.
- Found in:
- PO3's PE
- Favorites item (must be in inventory) or spell/shout
- Found in:
- PO3's PE
- Removes conditions on the form that were found in the condition list . This is not serialized.
- Index is for spell/magic item effects
- Found in:
- PO3's PE
voidfunctionReplaceKeywordOnForm(FormakForm, KeywordakKeywordAdd, KeywordakKeywordRemove)NativeGlobal
- Replaces given keyword with new one on form. Only lasts for a single gaming session. [ported from DienesTools].
- Found in:
- PO3's PE
- Removes keyword from form.
- Found in:
- PO3's PE
- Append the condition list to this form. This is not serialized.
- Index is for spell/magic item effects
- Found in:
- PO3's PE
- Unfavorites item (must be in inventory) or spell/shout
- Found in:
- PO3's PE
| Type | Value |
|---|---|
| None | -1 |
| Perch | 0 |
| Lean | 1 |
| Sit | 2 |
| Sleep | 3 |
- Found in:
- PO3's PE
- Gets all enchantments from base game + mods, filtered using optional keyword array
- Found in:
- PO3's PE
- Gets all forms from base game + mods, filtered using formtype and optional keyword array
- Found in:
- PO3's PE
- Gets all races from base game + mods, filtered using optional keyword array
- Found in:
- PO3's PE
- Gets all spells from base game + mods, filtered using optional keyword array. IsPlayable filters out spells that are not found in spellbooks.
- Found in:
- PO3's PE
[DEV SERVER] Loading description...
- Found in:
- PO3's PE
Form[]functionGetAllFormsInMod(stringasModName, intaiFormType, Keyword[]akKeywords=NONE)NativeGlobal
- Gets all forms added by a specified mod/game esm, filtered using formtype and optional keyword array.
- Found in:
- PO3's PE
- Gets all enchantments added by a specified mod/game esm, filtered using optional keyword array.
- Found in:
- PO3's PE
- Gets all races added by a specified mod/game esm, filtered using optional keyword array.
- Found in:
- PO3's PE
Spell[]functionGetAllSpellsInMod(stringasModName, Keyword[]akKeywords=NONE, boolabIsPlayable=false)NativeGlobal
- Gets all spells added by a specified mod/game esm, filtered using optional keyword array.
- Found in:
- PO3's PE
- Gets current cell if in interior/attached cells in exterior/sky cell if in worldspace with no attached cells??
- Found in:
- PO3's PE
- Gets form using its editorID
- Found in:
- PO3's PE
- Gets the value of the boolean gamesetting. Returns -1 if gmst is None or not a bool.
- Found in:
- PO3's PE
- Returns whether God Mode is enabled
- Found in:
- PO3's PE
- Gets land height at the specified coordinates.
- Found in:
- PO3's PE
- Gets land material type at the specified coordinates.
- Found in:
- PO3's PE
- Gets exterior worldspace/interior cell gravity.
- Default gravity is [0.0, 0.0, -9.81]
- Found in:
- PO3's PE
- Gets how many actors are in high process
- Found in:
- PO3's PE
- Returns all actors that are currently following the player
- Found in:
- PO3's PE
- Gets the material name of the current surface (land texture) at point
- See Object Reference for material type list
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Returns whether CC Survival Mode is enabled
- False in VR
- Found in:
- PO3's PE
- Clears all faction combat reactions
- Found in:
- PO3's PE
- Sets exterior worldspace/interior cell gravity (ms-2).
- Found in:
- PO3's PE
- Refreshes crosshair text and other elements
- Found in:
- PO3's PE
- Gets hazard art path, eg. "Effects/MyHazardArt.nif"
- Found in:
- PO3's PE
- Get Hazard imagespace modifier
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Get hazard impact data set
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Gets target interval (duration between casts)
- Found in:
- PO3's PE
| Flag | Value |
|---|---|
| None | 0 |
| PCOnly | 0x00000001 |
| InheritDuration | 0x00000002 |
| AlignToNormal | 0x00000004 |
| InheritRadius | 0x00000008 |
| DropToGround | 0x00000010 |
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Sets hazard art path. Does not work on active hazards
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Get idle animation event name (eg.
attackStart)
- Found in:
- PO3's PE
- Get idle animation file name (eg.
Actors\Character\Behaviors\0_Master.hkx)
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Gets light fade (brightness).
- Found in:
- PO3's PE
- Gets base light FOV.
- Found in:
- PO3's PE
- Gets light radius as float
- Found in:
- PO3's PE
- Gets light color as RGB array [0-255].
- Found in:
- PO3's PE
- Gets depth bias
- Returns 1 if not set.
- Found in:
- PO3's PE
| Type | Value |
|---|---|
| HemiShadow | 1 |
| Omni | 2 |
| OmniShadow | 3 |
| Spot | 4 |
| SpotShadow | 5 |
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Sets light color using RGB array [0-255].
- Array must contain 3 elements (r,g,b).
- Found in:
- PO3's PE
- sets depth bias on light reference. Creates new depth bias extradata on lights that don't have it set.
- Found in:
- PO3's PE
- Sets light type.
- Does not persist between game sessions.
- Found in:
- PO3's PE
- Same as above but for leveled items
- Found in:
- PO3's PE
Form[]functionGetContentFromLeveledActor(LeveledActorakLeveledActor, ObjectReferenceakRef)NativeGlobal
- Resolves leveled list based on reference's level and returns an array of forms
- Found in:
- PO3's PE
Form[]functionGetContentFromLeveledSpell(LeveledSpellakLeveledSpell, ObjectReferenceakRef)NativeGlobal
- Same as above but for leveled spells
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Gets associated form (Light for Light spells, Actor for Summon Creature...), if any
- Found in:
- PO3's PE
[DEV SERVER] Loading description...
- Found in:
- PO3's PE
[DEV SERVER] Loading description...
- Found in:
- PO3's PE
- Gets primary actor value as string, if any (FrostResist, SpeedMult).
- Found in:
- PO3's PE
- Gets secondary actor value as string, if any.
- Found in:
- PO3's PE
| Type | Index |
|---|---|
| Draw/Sheathe | 0 |
| Charge | 1 |
| Ready | 2 |
| Release | 3 |
| Concentration Cast Loop | 4 |
| On Hit | 5 |
- Gets Sound attached to index of Sound type specified in magic effect.
- Found in:
- PO3's PE
- Sets associated form (Light for Light spells, Actor for Summon Creature...).
- Can be None
- Found in:
- PO3's PE
voidfunctionSetMagicEffectSound(MagicEffectakMagicEffect, SoundDescriptorakSoundDescriptor, intaiType)NativeGlobal
- Sets sound descriptor attached to index of Sound type specified in magic effect.
- Found in:
- PO3's PE
boolfunctionActorInRangeHasEffect(ObjectReferenceakRef, floatafRadius, MagicEffectakEffect, boolabIgnorePlayer)NativeGlobal
- Returns true if an actor within range of the reference has the specified magic effect.
- Found in:
- PO3's PE
Form[]functionAddAllItemsToArray(ObjectReferenceakRef, boolabNoEquipped=true, boolabNoFavorited=false, boolabNoQuestItem=false)NativeGlobal
- Adds all inventory items to array, filtering out equipped, favourited and quest items.
- Found in:
- PO3's PE
voidfunctionAddAllItemsToList(ObjectReferenceakRef, FormListakList, boolabNoEquipped=true, boolabNoFavorited=false, boolabNoQuestItem=false)NativeGlobal
- Found in:
- PO3's PE
Form[]functionAddItemsOfTypeToArray(ObjectReferenceakRef, intaiFormType, boolabNoEquipped=true, boolabNoFavorited=false, boolabNoQuestItem=false)NativeGlobal
- Adds inventory items matching formtype to array, filtering out equipped, favourited and quest items.
- Found in:
- PO3's PE
voidfunctionAddItemsOfTypeToList(ObjectReferenceakRef, FormListakList, intaiFormType, boolabNoEquipped=true, boolabNoFavorited=false, boolabNoQuestItem=false)NativeGlobal
- Found in:
- PO3's PE
ObjectReference[]functionFindAllReferencesOfFormType(ObjectReferenceakRef, intformType, floatafRadius)NativeGlobal
- Finds all references of form type in loaded cells, within radius from ref.
- If afRadius is 0, it will get all references from all attached cells
- Found in:
- PO3's PE
ObjectReference[]functionFindAllReferencesWithKeyword(ObjectReferenceakRef, FormkeywordOrList, floatafRadius, boolabMatchAll)NativeGlobal
- Find all references with keyword in loaded cells, within radius from ref.
- If afRadius is 0, it will get all references from all attached cells
- Found in:
- PO3's PE
ObjectReference[]functionFindAllReferencesOfType(ObjectReferenceakRef, FormakFormOrList, floatafRadius)NativeGlobal
- Find all references matching base form/in formlist, within radius from ref.
- If afRadius is 0, it will get all references from all attached cells
- Found in:
- PO3's PE
- Gets the first item in inventory that exists in formlist.
- Found in:
- PO3's PE
Quest[]functionGetActiveAssociatedQuests(ObjectReferenceakRef, boolabAllowEmptyStages=true)NativeGlobal
- Gets all active quests associated with this reference
- Found in:
- PO3's PE
- Gets activate children
- See IsActivateChild
- Found in:
- PO3's PE
- Gets currently playing animation sequence
- Found in:
- PO3's PE
ActiveMagicEffect[]functionGetActiveMagicEffects(ObjectReferenceakRef, MagicEffectakMagicEffect)NativeGlobal
- Gets all active effects on the reference matching the magic effect.
- Found in:
- PO3's PE
Quest[]functionGetAllAssociatedQuests(ObjectReferenceakRef, boolabAllowEmptyStages=true)NativeGlobal
- Gets all quests associated with this reference
- Found in:
- PO3's PE
- Gets actor responsible for object.
- Found in:
- PO3's PE
- Get all art objects attached to this object.
- Found in:
- PO3's PE
- Get all effect shaders attached to this object.
- Found in:
- PO3's PE
- Gets closest actor to ref (without returning the reference itself).
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Gets the door which is linked to this load door ref.
- Found in:
- PO3's PE
- Gets all refs linked to akRef. Keyword optional.
- Found in:
- PO3's PE
- Gets the source of the magic effect (spell/enchantment/scroll etc) and the caster.
- Magic effect must be present on the reference.
- Found in:
- PO3's PE
[DEV SERVER] Loading description...
- Found in:
- PO3's PE
- See ObjectReference.SetMotionType(...)
- Found in:
- PO3's PE
intfunctionGetNumActorsWithEffectInRange(ObjectReferenceakRef, floatafRadius, MagicEffectakEffect, boolabignorePlayer)NativeGlobal
- Found in:
- PO3's PE
ActorfunctionGetRandomActorFromRef(ObjectReferenceakRef, floatafRadius, boolabIgnorePlayer)NativeGlobal
- Gets random actor near ref (without returning the reference itself).
- Found in:
- PO3's PE
Form[]functionGetQuestItems(ObjectReferenceakRef, boolabNoEquipped=false, boolabNoFavorited=false)NativeGlobal
- Found in:
- PO3's PE
- Get all aliases holding this ref
- Found in:
- PO3's PE
- Get object reference count (eg. number of stacked items when dropped from inventory)
- Found in:
- PO3's PE
- Returns the size of the stored soul in a soulgem objectreference
- Found in:
- PO3's PE
- Returns the number of instances of the specified art object (attached using visual effects) on the reference.
- Found in:
- PO3's PE
intfunctionHasEffectShader(ObjectReferenceakRef, EffectShaderakShader, boolabActive=false)NativeGlobal
- Returns the number of instances of the specified effect shader on the reference.
- Found in:
- PO3's PE
- Returns whether the reference has NiExtraData (attached to root 3D node). Partial name matches accepted.
- Found in:
- PO3's PE
- Returns whether the reference is currently casting magic
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Returns whether the object reference (or actor) is in water. Function may be unreliable if object bounds are incorrect
- Found in:
- PO3's PE
- Returns whether the object reference's node is in water.
- Found in:
- PO3's PE
- Returns whether the object reference (or actor) is under water. Function may be unreliable if object bounds are incorrect
- Found in:
- PO3's PE
- Is a VIP (actor that is needed by quest)?
- Found in:
- PO3's PE
voidfunctionApplyMaterialShader(ObjectReferenceakRef, MaterialObjectakMatObject, floatdirectionalThresholdAngle)NativeGlobal
- Applies material shader to reference (doesn't have to be static)
- Found in:
- PO3's PE
- Wrapper function for AddKeywordToForm.
- Found in:
- PO3's PE
voidfunctionCastEx(ObjectReferenceakRef, FormakSpell, ObjectReferenceakTarget, ActorakBlameActor, intaiSource)NativeGlobal
- Found in:
- PO3's PE
- Snaps the object to the nearest navmesh point closest to its current position in the cell.
- Found in:
- PO3's PE
voidfunctionRemoveAllModItems(ObjectReferenceakRef, stringasModName, boolabOnlyUnequip=false)NativeGlobal
- Remove all mod added items from this reference, optionally only unequipping them
- Found in:
- PO3's PE
voidfunctionRemoveListFromContainer(ObjectReferenceakRef, FormListakList, boolabNoEquipped=false, boolabNoFavorited=false, boolabNoQuestItem=false, ObjectReferenceakDestination=NONE)NativeGlobal
- Removes all items found in the formlist from the container, transferring them to an optional container
- Found in:
- PO3's PE
- Wrapper function for RemoveKeywordFromForm.
- Found in:
- PO3's PE
voidfunctionReplaceKeywordOnRef(ObjectReferenceakRef, KeywordakKeywordAdd, KeywordakKeywordRemove)NativeGlobal
- Wrapper function for ReplaceKeywordOnForm.
- Found in:
- PO3's PE
- Plays debug shader on the reference, with normalised RGBA color (or white if empty)
- Found in:
- PO3's PE
- Scales node & collision (bhkBoxShape, bhkSphereShape).
- Entire nif will be scaled if string is empty. Collision has to be directly attached to named nodes.
- Adds "PO3_SCALE" NiExtraData to root node.
- Found in:
- PO3's PE
- Sets the base object of this reference. Does not reload the object reference.
- Found in:
- PO3's PE
voidfunctionSetCollisionLayer(ObjectReferenceakRef, stringasNodeName, intaiCollisionLayer)NativeGlobal
[DEV SERVER] Loading description...
- Found in:
- PO3's PE
- Sets the door as the new linked door
- Found in:
- PO3's PE
voidfunctionSetEffectShaderDuration(ObjectReferenceakRef, EffectShaderakShader, floatafTime, boolabAbsolute)NativeGlobal
- Sets effectshader duration. Internal duration is set when the effectshader begins and does not change with time.
- Found in:
- PO3's PE
- Found in:
- PO3's PE
voidfunctionSetLinkedRef(ObjectReferenceakRef, ObjectReferenceakTargetRef, KeywordakKeyword=NONE)NativeGlobal
- Sets linked ref. Pass None into akTargetRef to unset the linked ref.
- Found in:
- PO3's PE
voidfunctionSetMaterialType(ObjectReferenceakRef, stringasNewMaterial, stringasOldMaterial="", stringasNodeName="")NativeGlobal
- Sets havok material type. Use oldMaterial string to select what material you want to change from to (eg. from stone to wood), and nodeName to apply it to the specific node.
- If both are empty, every collision material will be set.
- Found in:
- PO3's PE
- Copies skin tint color from actorbase to bodypart nif
- Bodyparts nif must have skin shaders
- Found in:
- PO3's PE
voidfunctionSetShaderType(ObjectReferenceakRef, ObjectReferenceakTemplate, stringasDiffusePath, intaiShaderType, intaiTextureType, boolabNoWeapons, boolabNoAlphaProperty)NativeGlobal
[DEV SERVER] Loading description...
- Found in:
- PO3's PE
- Stops ALL effect shaders and art objects (visual effects) currently on this actor
- Found in:
- PO3's PE
- Removes all instances of the art object (hit magic effect/visual effect) attached to the reference.
- Found in:
- PO3's PE
- Toggles node attached to root 3D.
- Found in:
- PO3's PE
voidfunctionUpdateHitEffectArtNode(ObjectReferenceakRef, ArtakArt, stringasNewNode, float[]afTranslate, float[]afRotate, floatafRelativeScale=1.0)NativeGlobal
[DEV SERVER] Loading description...
- Found in:
- PO3's PE
[DEV SERVER] Loading description...
- Found in:
- PO3's PE
- Gets all idles on this package
- Found in:
- PO3's PE
- Adds idle to the end of the package idle stack, creating it if needed.
- Found in:
- PO3's PE
- Removes idle from package
- Found in:
- PO3's PE
(major,minor,patch / 5,10,0)
- Found in:
- PO3's PE
voidfunctionAddMagicEffectToPotion(PotionakPotion, MagicEffectakMagicEffect, floatafMagnitude, intaiArea, intaiDuration, floatafCost=0.0, string[]asConditionList)NativeGlobal
- Found in:
- PO3's PE
voidfunctionAddEffectItemToPotion(PotionakPotion, PotionakPotionToCopyFrom, intaiIndex, floatafCost=-1)NativeGlobal
- Found in:
- PO3's PE
voidfunctionRemoveMagicEffectFromPotion(PotionakPotion, MagicEffectakMagicEffect, floatafMagnitude, intaiArea, intaiDuration, floatafCost=0.0)NativeGlobal
- Found in:
- PO3's PE
voidfunctionRemoveEffectItemFromPotion(PotionakPotion, PotionakPotionToMatchFrom, intaiIndex)NativeGlobal
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Usually 0.0 for non arrow projectiles.
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
| Projectile | Type |
|---|---|
| None | 0 |
| Missile | 1 |
| Lobber | 2 |
| Beam | 3 |
| Flame | 4 |
| Cone | 5 |
| Barrier | 6 |
| Arrow | 7 |
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
Sets the speed of the projectile set in the first parameter. (This function requires PowerOfThree's Papyrus Extender)
- Found in:
- PO3's PE
- Get all quest objective indices
- Found in:
- PO3's PE
- Get all quest stages
- Found in:
- PO3's PE
- Set quest objective text
- Found in:
- PO3's PE
- Get all actors in scene. Quest aliases must be filled.
- Found in:
- PO3's PE
- Found in:
- PO3's PE
voidfunctionAddMagicEffectToScroll(ScrollakScroll, MagicEffectakMagicEffect, floatafMagnitude, intaiArea, intaiDuration, floatafCost=0.0, string[]asConditionList)NativeGlobal
- Found in:
- PO3's PE
voidfunctionAddEffectItemToScroll(ScrollakScroll, ScrollakScrollToCopyFrom, intaiIndex, floatafCost=-1)NativeGlobal
- Found in:
- PO3's PE
voidfunctionRemoveMagicEffectFromScroll(ScrollakScroll, MagicEffectakMagicEffect, floatafMagnitude, intaiArea, intaiDuration, floatafCost=0.0)NativeGlobal
- Found in:
- PO3's PE
voidfunctionRemoveEffectItemFromScroll(ScrollakScroll, ScrollakScrollToMatchFrom, intaiIndex)NativeGlobal
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Sets sound descriptor associated with the sound.
- Found in:
- PO3's PE
[DEV SERVER] Loading description...
- Found in:
- PO3's PE
voidfunctionAddMagicEffectToSpell(SpellakSpell, MagicEffectakMagicEffect, floatafMagnitude, intaiArea, intaiDuration, floatafCost=0.0, string[]asConditionList)NativeGlobal
- Condition format :
ConditionItemObject | Function ID | parameter 1 | parameter 2 | OPCode | float | ANDOR - eg.
"Subject | HasMagicEffectKeyword | 0001EA6F ~ Skyrim.esm | NONE | == | 0.0 | AND" - Conditions which have no parameters (eg. IsSneaking) / take in forms (GetIsRace) work
- Conditions which accept int/float/strings are skipped
- Found in:
- PO3's PE
voidfunctionAddEffectItemToSpell(SpellakSpell, SpellakSpellToCopyFrom, intaiIndex, floatafCost=-1)NativeGlobal
- Adds effectitem from spell to target spell, at given index. Same as above function, but less verbose, and preserves all conditions.
- Found in:
- PO3's PE
voidfunctionRemoveMagicEffectFromSpell(SpellakSpell, MagicEffectakMagicEffect, floatafMagnitude, intaiArea, intaiDuration, floatafCost=0.0)NativeGlobal
- Removes magic effect from spell that matches magnitude/area/duration/cost.
- Found in:
- PO3's PE
voidfunctionRemoveEffectItemFromSpell(SpellakSpell, SpellakSpellToMatchFrom, intaiIndex)NativeGlobal
- Removes effectitem from spell that matches spell at index.
- Found in:
- PO3's PE
- Sets casting type of spell (and all attached magic effects)
- See Casting Type for list of casting types
- Found in:
- PO3's PE
- Sets delivery type of spell (and all attached magic effects)
- See Delivery Type for list of delivery types
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Converts int to string. Integers exceeding
2147483647cannot be handled properly using Papyrus. abHexadds0xto the beginning of the string
- Found in:
- PO3's PE
- Converts string to int. Returns -1 for out of bound values.
- Found in:
- PO3's PE
- Gets the objectreference of the currently opened container in container menu
- Found in:
- PO3's PE
- Returns whether menus are visible (eg. check if menus are hidden using
tmconsole command)
- Found in:
- PO3's PE
- Found in:
- PO3's PE
- Display or hide
Sleep/Waitmenu
- Found in:
- PO3's PE
- Calculates a random float between afMin and afMax, based on Mersenne Twister
- Found in:
- PO3's PE
- Calculates a random integer between afMin and afMax, based on Mersenne Twister
- Found in:
- PO3's PE
[DEV SERVER] Loading description...
- Found in:
- PO3's PE
- Gets the art object associated with the visual effect.
- Found in:
- PO3's PE
- Returns the total number of art objects present/active (on objects) within the loaded area.
- Found in:
- PO3's PE
- Sets the art object associated with the visual effect.
- Found in:
- PO3's PE
- Gets wind speed as shown as in CK conditions (0.0-1.0).
- Found in:
- PO3's PE
- Gets wind speed as shown in the weather form (0-255).
- Found in:
- PO3's PE
| Type | Value |
|---|---|
| Pleasant | 0 |
| Cloudy | 1 |
| Rainy | 2 |
| Snow | 3 |
- Gets weather/current weather type if akWeather is None
