Difference between revisions of "Actor Script"

93 bytes added ,  13:03, 23 June 2018
m
→‎F4SE Member Functions: The return value of GetWornItemMods wasn't marked as an array. Possibly my fault. Fixed.
imported>ShadeMe
(Re-order F4SE Member functions, add GetInstanceOwner)
imported>Homecom
m (→‎F4SE Member Functions: The return value of GetWornItemMods wasn't marked as an array. Possibly my fault. Fixed.)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:Actor]]
'''Extends:''' [[ObjectReference Script]]
'''Extends:''' [[ObjectReference Script]]
 
<BR/>
'''Editor:''' [[Actor]]
'''Editor:''' [[Actor]]


Line 453: Line 449:


== F4SE Member Functions ==
== F4SE Member Functions ==
*ObjectReference Function [[GetFurnitureReference - Actor|GetFurnitureReference]]()
*[[ObjectReference Script|ObjectReference]] Function [[GetFurnitureReference - Actor|GetFurnitureReference]]()
**Returns the furniture reference for this actor.
**Returns the current furniture reference object, if any.
*[[Owner Struct - InstanceData|Owner]] Function [[GetInstanceOwner - Actor|GetInstanceOwner]](int slotIndex)
*[[Owner Struct - InstanceData|Owner]] Function [[GetInstanceOwner - Actor|GetInstanceOwner]](int slotIndex)
**Obtains [[Owner Struct - InstanceData|Owner]] struct for the item in the given slot on an actor, if it exists.
**Returns the [[Owner Struct - InstanceData|Owner]] struct for the item in the specified [[Biped Slots|Biped Slot]].
*[[WornItem Struct - Actor|WornItem]] Function [[GetWornItem - Actor|GetWornItem]](int slotIndex, bool firstPerson)
*[[WornItem Struct - Actor|WornItem]] Function [[GetWornItem - Actor|GetWornItem]](int slotIndex, bool firstPerson)
**Obtains [[WornItem Struct - Actor|WornItem]] information about an actors [[Biped Slots|Biped Slot]].
**Returns the [[WornItem Struct - Actor|WornItem]] struct for the item in the specified [[Biped Slots|Biped Slot]].
*[[Object Mod]] Function [[GetWornItemMods - Actor|GetWornItemMods]](int slotIndex)
*[[ObjectMod Script|ObjectMod]][] Function [[GetWornItemMods - Actor|GetWornItemMods]](int slotIndex)
**Obtains all the [[Object Mod|Object Mods]] for an item at a particular [[Biped Slots|Biped Slot]].
**Returns all of the [[ObjectMod Script|ObjectMod]] objects for the item in the specified [[Biped Slots|Biped Slot]].
*Function [[QueueUpdate - Actor|QueueUpdate]](bool bFacegen, int flags)
*Function [[QueueUpdate - Actor|QueueUpdate]](bool bFacegen, int flags)
**Updates the entire actor from the ground-up.
**Updates the entire actor from the ground-up.
Line 546: Line 542:
== See Also ==
== See Also ==
*[[:Category:Actor|Actor Category]]
*[[:Category:Actor|Actor Category]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:Actor]]
Anonymous user