Difference between revisions of "Book Script"

32 bytes added ,  06:30, 28 August 2013
m
Changed SKSE entries.
imported>Bot Owned
imported>CraftySentinel
m (Changed SKSE entries.)
Line 1: Line 1:
[[Category:Scripting]]
__NOTOC__ __NOEDITSECTION__
[[Category:Papyrus]]
'''Extends:''' [[Form Script]]
[[Category:Script Objects]]
[[Category:SKSE]]
[[Category:SKSE Script Objects]]


'''Extends:''' [[Form Script]]


Script for the manipulation of book base objects.
Script for the manipulation of book base objects.
Line 11: Line 7:
== Definition ==
== Definition ==
<source lang="papyrus">
<source lang="papyrus">
ScriptName Book extends Form
ScriptName Book extends Form Hidden
</source>
</source>


== Properties ==
None


== Global Functions ==
== SKSE Member Functions ==
None
{|class="wikitable" width =100%
!style="text-align:left;" width=25%|Function
!style="text-align:left;"|Description
|-


== Member Functions ==
|[[GetSpell - Book|Spell '''GetSpell'''()]]
None
|Gets the spell associated with this book.
|-


== SKSE Member Functions ==
|[[GetSkill - Book|Int '''GetSkill'''()]]
'''Spell Function [[GetSpell - Book|GetSpell]]()'''
|Gets the skill associated with this book.
*Returns the spell associated with this book.
|-
 
|[[IsRead - Book|Bool '''IsRead'''()]]
|Returns if the player has read the book.
|-


'''Int Function [[GetSkill - Book|GetSkill]]()'''
|[[IsTakeable - Book|Bool '''IsTakeable'''()]]
*Returns the Skill associated with this book.
|Returns whether or not the book can be picked up.


'''bool Function [[IsRead - Book|IsRead]]()'''
|}
*Returns if the player has read the book.


'''bool Function [[IsTakeable - Book|IsTakeable]]()'''
*Returns whether or not the book can be picked up.


== Events ==
[[Category:Scripting]]
None
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:SKSE]]
[[Category:SKSE Script Objects]]