Difference between revisions of "Actor Script"

1,298 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>Qazaaq
(Added F4SE member short description.)
imported>Homecom
m (→‎F4SE Member Functions: The return value of GetWornItemMods wasn't marked as an array. Possibly my fault. Fixed.)
 
(11 intermediate revisions by 3 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 15: Line 11:


== Properties ==
== Properties ==
None
*[[SetCriticalStage - Actor|Critical Stages]]: Set of read-only properties to essentially make a fake enum for ''Critical Stages''.
**int CritStage_None: 0
***Sets the critical stage to none.
**int CritStage_GooStart: 1
***Sets the critical stage to goo start.
**int CritStage_GooEnd: 2
***Sets the critical stage to goo end.
**int CritStage_DisintegrateStart: 3
***Sets the critical stage to disintegrate start.
**int CritStage_DisintegrateEnd: 4
***Sets the critical stage to disintegrate end.
**int CritStage_FreezeStart: 5
***Sets the critical stage to freeze start.
**int CritStage_FreezeEnd: 6
***Sets the critical stage to freeze end.


== Structs ==
== F4SE Structs ==
*Struct [[WornItem Struct - Actor|WornItem]]
*Struct [[WornItem Struct - Actor|WornItem]]
**A structure that holds information about an actors [[Biped Slots|Biped Slot]].
**A structure that holds information about an actors [[Biped Slots|Biped Slot]].
Line 439: Line 449:


== F4SE Member Functions ==
== F4SE Member Functions ==
*[[ObjectReference Script|ObjectReference]] Function [[GetFurnitureReference - Actor|GetFurnitureReference]]()
**Returns the current furniture reference object, if any.
*[[Owner Struct - InstanceData|Owner]] Function [[GetInstanceOwner - Actor|GetInstanceOwner]](int slotIndex)
**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]].
*[[ObjectMod]] Function [[GetWornItemMods - Actor|GetWornItemMods]](int slotIndex)
*[[ObjectMod Script|ObjectMod]][] Function [[GetWornItemMods - Actor|GetWornItemMods]](int slotIndex)
**description
**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)
**Updates the entire actor from the ground-up.


== Events ==
== Events ==
Line 526: 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