Difference between revisions of "Actor Script"
m
→F4SE Member Functions: The return value of GetWornItemMods wasn't marked as an array. Possibly my fault. Fixed.
imported>Qazaaq (Added F4SE member) |
imported>Homecom m (→F4SE Member Functions: The return value of GetWornItemMods wasn't marked as an array. Possibly my fault. Fixed.) |
||
(15 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
'''Extends:''' [[ObjectReference Script]] | '''Extends:''' [[ObjectReference Script]] | ||
<BR/> | |||
'''Editor:''' [[Actor]] | '''Editor:''' [[Actor]] | ||
Line 15: | Line 11: | ||
== Properties == | == Properties == | ||
*[[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 == | ||
*[[WornItem Struct - Actor]] | *Struct [[WornItem Struct - Actor|WornItem]] | ||
**A | **A structure that holds information about an actors [[Biped Slots|Biped Slot]]. | ||
== Global Functions == | == Global Functions == | ||
Line 437: | Line 447: | ||
*int Function [[WouldRefuseCommand - Actor|WouldRefuseCommand]](ObjectReference akTarget) | *int Function [[WouldRefuseCommand - Actor|WouldRefuseCommand]](ObjectReference akTarget) | ||
**Returns if the actor would refuse a command from the player regarding the target object, and why. | **Returns if the actor would refuse a command from the player regarding the target object, and why. | ||
== 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) | |||
**Returns the [[WornItem Struct - Actor|WornItem]] struct for the item in the specified [[Biped Slots|Biped Slot]]. | |||
*[[ObjectMod Script|ObjectMod]][] Function [[GetWornItemMods - Actor|GetWornItemMods]](int slotIndex) | |||
**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 520: | Line 542: | ||
== See Also == | == See Also == | ||
*[[:Category:Actor|Actor Category]] | *[[:Category:Actor|Actor Category]] | ||
[[Category:Scripting]] | |||
[[Category:Papyrus]] | |||
[[Category:Script Objects]] | |||
[[Category:Actor]] |