Editing Actor Script

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
'''Extends:''' [[ObjectReference Script]]
'''Extends:''' [[ObjectReference Script]]
<BR/>
'''Editor:''' [[Actor]]


Script for the manipulation of actor instances.
Script for the manipulation of actor instances.
Line 11: Line 13:


== Properties ==
== Properties ==
*[[SetCriticalStage - Actor|Critical Stages]]: Set of read-only properties to essentially make a fake enum for ''Critical Stages''.
None
**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.
 
== F4SE Structs ==
*Struct [[WornItem Struct - Actor|WornItem]]
**A structure that holds information about an actors [[Biped Slots|Biped Slot]].


== Global Functions ==
== Global Functions ==
Line 447: Line 431:
*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 539: Line 511:
*Event [[OnSpeechChallengeAvailable - Actor|OnSpeechChallengeAvailable]](ObjectReference akSpeaker)
*Event [[OnSpeechChallengeAvailable - Actor|OnSpeechChallengeAvailable]](ObjectReference akSpeaker)
**Event sent to player that a speech challenge is available
**Event sent to player that a speech challenge is available
== See Also ==
*[[:Category:Actor|Actor Category]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:Actor]]

Please note that all contributions to the Fallout4 CreationKit Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see FalloutCK:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)