Editing
ANDR PapyrusFunctions Script
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== SKSE Global Functions == :'''String [[GetAndrealphusExtenderVersion - ANDR_PapyrusFunctions|GetAndrealphusExtenderVersion]]()''' :*Returns the current installed version of Andrealletius' Papyrus Functions as a string. (e.g.: "1.5.2") :'''String [[GetBookText - ANDR_PapyrusFunctions|GetBookText]](Book ''akBook'')''' :*Returns the body text of a book as a string. :'''Int [[GetCurrentBookPage - ANDR_PapyrusFunctions|GetCurrentBookPage]]()''' :*When in the book menu, returns the current page of the book as an Int. If not in the book menu, returns -1. :'''TopicInfo [[GetCurrentTopicInfo - ANDR_PapyrusFunctions|GetCurrentTopicInfo]]()''' :*Returns the TopicInfo that is currently being said by an NPC while in the dialogue menu. If not in the dialogue menu, returns None. :'''Book [[GetOpenedBook - ANDR_PapyrusFunctions|GetOpenedBook]]()''' :*When in the book menu, returns the currently opened book in the book menu. If not in book menu, returns None. :'''ObjectReference [[GetOpenedContainerRef - ANDR_PapyrusFunctions|GetOpenedContainerRef]]()''' :*When in the container menu, returns the currently opened container ref. If not in the container menu, returns None. :'''[[CastEnchantment - ANDR_PapyrusFunctions|CastEnchantment]](Actor ''akSource'', Enchantment ''akEnchantment'', Actor ''akTarget'')''' :*Casts this enchantment's effects from the specified actor, to a target actor. :'''[[CastIngredient - ANDR_PapyrusFunctions|CastIngredient]](Actor ''akSource'', Potion ''akPotion'', Actor ''akTarget'')''' :*Casts this ingredient's effects from the specified actor, to a target actor. :'''[[CastPotion - ANDR_PapyrusFunctions|CastPotion]](Actor ''akSource'', Potion ''akPotion'', Actor ''akTarget'')''' :*Casts this potion's effects from the specified actor, to a target actor. :'''[[CastSpellFromPointToPoint - ANDR_PapyrusFunctions|CastSpellFromPointToPoint]](Actor ''akSource'', Spell ''akSpell'', Float ''StartPoint_X'', Float ''StartPoint_Y'', Float ''StartPoint_Z'', Float ''EndPoint_X'', Float ''EndPoint_Y'', Float ''EndPoint_Z'')''' :*Have an actor cast a spell from a certain point (x, y and z coordinates) to another point (x, y and z coordinates). :'''[[CastSpellFromRef - ANDR_PapyrusFunctions|CastSpellFromRef]](Actor ''akSource'', Spell ''akSpell'', ObjectReference ''akTarget'', ObjectReference ''akOriginRef'')''' :*Have an actor cast a spell from one ref to another ref. :'''ActiveMagicEffect [[GetActiveMagicEffectFromActor - ANDR_PapyrusFunctions|GetActiveMagicEffectFromActor]](Actor ''akActor'', MagicEffect ''akMagicEffect'') :*Gets an Active Magic Effect instance from the specified actor. :'''Int [[GetCollisionLayerFromRef - ANDR_PapyrusFunctions|GetCollisionLayerFromRef]](ObjectReference ''akRef'') :*Returns the integer of the collision layer of mesh of akRef. :'''Float [[GetEffectiveEnchantmentCost - ANDR_PapyrusFunctions|GetEffectiveEnchantmentCost]](Actor ''akSource'', Enchantment ''akEnchantment'')''' :*Returns the effective enchantment cost of the given enchantment for the given caster. :'''Float [[GetEffectiveIngredientCost - ANDR_PapyrusFunctions|GetEffectiveIngredientCost]](Actor ''akSource'', Ingredient ''akIngredient'')''' :*Returns the effective effects cost of the given ingredient for the given caster. :'''Float [[ GetEffectivePotionCost - ANDR_PapyrusFunctions|GetEffectivePotionCost]](Actor ''akSource'', Potion ''akPotion'')''' :*Returns the effective effects cost of the given potion for the given caster. :'''Float [[GetEffectiveScrollCost - ANDR_PapyrusFunctions|GetEffectiveScrollCost]](Actor ''akSource'', Scroll ''akScroll'')''' :*Returns the effective effects cost of the given scroll for the given caster. :'''[[LaunchAmmo - ANDR_PapyrusFunctions|LaunchAmmo]](Actor ''akCaster'', Ammo ''akAmmo'', Weapon ''akWeapon'', String ''sNodeName = ""'', ObjectReference ''akTarget = None'', Projectile ''akProjectile'', ObjectReference ''OriginSecondRef = None'')''' :*Have an actor launch a piece of ammunition to a target. :'''[[LaunchMagicSpell - ANDR_PapyrusFunctions|LaunchMagicSpell]](Actor ''akCaster'', Spell ''akSpell'', String ''sNodeName = ""'', ObjectReference ''akTarget = None'', Projectile ''akProjectile'', ObjectReference ''OriginSecondRef = None'')''' :*Have an actor launch a spell to a target. :'''Int [[MakeDiceRoll - ANDR_PapyrusFunctions|MakeDiceRoll]](int ''iNumberOfDice'', int ''iNumberOfSides'', int ''iModifier'' = 0)''' :*Rolls a certain number of dies, with an optional modifier, and returns the result as an Int. :'''[[MoveRefToCrosshairLoc - ANDR_PapyrusFunctions|MoveRefToCrosshairLoc]](Actor ''akActor'', ObjectReference ''markerRef'', float ''fDistance'', float ''fHeight'', bool ''UseLeftRightOffsets'' = false, bool ''isLeft'' = false)''' :*Move the specified markerRef at the crosshair location. :'''Bool [[ApplyCommandEffect - ANDR_PapyrusFunctions|ApplyCommandEffect]](Actor ''akCaster'', Actor ''akTarget'')''' :*Makes akTarget a commanded actor of akCaster, so it follows and fights for them. Unlike vanilla, works on living, non-summoned actors and for non-player casters. :'''[[EndCommandEffect - ANDR_PapyrusFunctions|EndCommandEffect]](Actor ''akCaster'', Actor ''akTarget'')''' :*Releases akTarget from akCaster's command. Does nothing if akCaster is not the actor currently commanding akTarget. :'''Int [[GetFactionCrimeGoldValue - ANDR_PapyrusFunctions|GetFactionCrimeGoldValue]](Faction ''CrimeFaction'', int ''iCrimeType'')''' :*Returns the amount of gold a certain crime will result in, in a particular crime faction.
Summary:
Please note that all contributions to the CreationKit Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
CreationKit:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Landing page
Tutorials
Game Systems
Editor Reference
Scripting Reference
Recent changes
Help
Tools
What links here
Related changes
Special pages
Page information
Page values