Difference between revisions of "ActorBase Script"

1,050 bytes added ,  23:54, 20 January 2018
Undo revision 9322 by Scrivener07 (talk)
imported>Plplecuyer
 
imported>Qazaaq
(Undo revision 9322 by Scrivener07 (talk))
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
'''Extends:''' [[Form Script]]
'''Extends:''' [[Form Script]]
<BR/>
'''Editor:''' [[Actor]]


Script for the manipulation of actor base objects. [[Actor Script|Actor]]s are references of this.
Script for the manipulation of actor base objects. [[Actor Script]]s are references of this.


== Definition ==
== Definition ==
Line 14: Line 12:
== Properties ==
== Properties ==
None
None
== F4SE Structs ==
*Struct [[BodyWeight Struct - ActorBase|BodyWeight]]
**A structure containing an actors body weight information.


== Global Functions ==
== Global Functions ==
Line 51: Line 53:
*Function [[SetOutfit - ActorBase|SetOutfit]](Outfit akOutfit,bool abSleepOutfit)
*Function [[SetOutfit - ActorBase|SetOutfit]](Outfit akOutfit,bool abSleepOutfit)
**Change the default or sleep outfit. Art will be loaded next time this actor is loaded.
**Change the default or sleep outfit. Art will be loaded next time this actor is loaded.
== F4SE Member Functions ==
*BodyWeight Function [[GetBodyWeight - ActorBase|GetBodyWeight]]()
**Returns this actors body weight information.
*HeadPart[] Function [[GetHeadParts - ActorBase|GetHeadParts]](bool bOverlays)
**Returns the head part array from either the overlay list or original list.
*Outfit Function [[GetOutfit - ActorBase|GetOutfit]](bool bSleepOutfit)
**Get the Outfit of the actor.
*ActorBase Function [[GetTemplate - ActorBase|GetTemplate]](bool bTopMost)
**Gets the template of the ActorBase, topmost will return the highest parent.
*bool Function [[HasHeadPartOverlays - ActorBase|HasHeadPartOverlays]]()
**Returns whether this ActorBase has any overlay head parts.
*Function [[SetBodyWeight - ActorBase|SetBodyWeight]](BodyWeight weight)
**Modifies this actors body weight information.


== Events ==
== Events ==
Line 58: Line 74:
* Any changes made to a leveled actor's leveled (or 'temporary') base will be lost when the actor re-levels.
* Any changes made to a leveled actor's leveled (or 'temporary') base will be lost when the actor re-levels.
* Any changes made to a leveled actor's non-leveled (or editor) base will not show up on the actor until the actor re-levels.
* Any changes made to a leveled actor's non-leveled (or editor) base will not show up on the actor until the actor re-levels.
== See Also ==
*[[Actor]]
*[[:Category:Actor|Actor Category]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:Actor]]
Anonymous user