104
edits
No edit summary |
(Update for 1.7.) |
||
| Line 16: | Line 16: | ||
== SKSE Global Functions == | == SKSE Global Functions == | ||
:'''String [[GetAndrealphusExtenderVersion - ANDR_PapyrusFunctions|GetAndrealphusExtenderVersion]]()''' | :'''String [[GetAndrealphusExtenderVersion - ANDR_PapyrusFunctions|GetAndrealphusExtenderVersion]]()''' | ||
:*Returns the current installed version of Andrealletius' Papyrus Functions as a string. (e.g.: "1.5.2") | :*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. | |||
:'''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. | |||
:'''[[CastEnchantment - ANDR_PapyrusFunctions|CastEnchantment]](Actor ''akSource'', Enchantment ''akEnchantment'', Actor ''akTarget'')''' | :'''[[CastEnchantment - ANDR_PapyrusFunctions|CastEnchantment]](Actor ''akSource'', Enchantment ''akEnchantment'', Actor ''akTarget'')''' | ||
| Line 55: | Line 63: | ||
:'''[[LaunchMagicSpell - ANDR_PapyrusFunctions|LaunchMagicSpell]](Actor ''akCaster'', Spell ''akSpell'', String ''sNodeName = ""'', ObjectReference ''akTarget = None'', Projectile ''akProjectile'', ObjectReference ''OriginSecondRef = None'')''' | :'''[[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. | :*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)''' | :'''[[MoveRefToCrosshairLoc - ANDR_PapyrusFunctions|MoveRefToCrosshairLoc]](Actor ''akActor'', ObjectReference ''markerRef'', float ''fDistance'', float ''fHeight'', bool ''UseLeftRightOffsets'' = false, bool ''isLeft'' = false)''' | ||
| Line 63: | Line 74: | ||
== Events == | == Events == | ||
:'''Book [[OnBookFullyRead - ANDR_PapyrusFunctions|OnBookFullyRead]]()''' | |||
:*Event that gets triggered after being on the last page of a book for 10 seconds, aka "fully read". | |||
edits