Difference between revisions of "SKSE Wish List"

140 bytes added ,  06:51, 26 July 2015
m
→‎ObjectReference: OnItemDropped, if implemented, should fire when the item is a safe ObjectReference. Item ObjectReferences fire OnInit when dropped by the player but before they are safe.
imported>DavidJCobb
(→‎ObjectReference: I have done further testing on items with scripts attached and I've concluded that an IsInContainer function wouldn't actually help anything.)
imported>DavidJCobb
m (→‎ObjectReference: OnItemDropped, if implemented, should fire when the item is a safe ObjectReference. Item ObjectReferences fire OnInit when dropped by the player but before they are safe.)
Line 66: Line 66:
*'''GetMotionType''' - Returns the havok motion type int of an object. Counterpart to the existing SetMotionType function. A GetAllowActivate function might also be useful to see if the user can interact with the object (or would that be redundant with the IsActivationBlocked function?)
*'''GetMotionType''' - Returns the havok motion type int of an object. Counterpart to the existing SetMotionType function. A GetAllowActivate function might also be useful to see if the user can interact with the object (or would that be redundant with the IsActivationBlocked function?)
*'''GetStackedItemCount''' - If the ObjectReference is a single dropped item, returns 1. If the ObjectReference is several of an item "clumped"/"stacked" into one world object, returns the number of items. If the ObjectReference isn't an item, returns 0.
*'''GetStackedItemCount''' - If the ObjectReference is a single dropped item, returns 1. If the ObjectReference is several of an item "clumped"/"stacked" into one world object, returns the number of items. If the ObjectReference isn't an item, returns 0.
*'''OnItemDropped''' - Fires when the item is dropped from a player's inventory, but not when it is removed from the inventory through some other means.
*'''OnItemDropped''' - Fires when the item is dropped from a player's inventory and can be safely operated on, but not when it is removed from the inventory through some other means.
** If you only need to detect dropping and not container transfers, then this would be safer than OnContainerChanged, which can cause stack dumping when applied to many objects.
** If you only need to detect dropping and not container transfers, then this would be safer than OnContainerChanged, which can cause stack dumping when applied to many objects. It would also be more reliable than OnLoad, which doesn't always fire when it should for newly-dropped items.
*'''GetLightFade''', '''SetLightFade''' - Modify the Fade value of a Light ObjectReference. Useful for Lights that have been spawned at run-time.
*'''GetLightFade''', '''SetLightFade''' - Modify the Fade value of a Light ObjectReference. Useful for Lights that have been spawned at run-time.
*'''GetLightRadius''', '''SetLightRadius''' - Modify the radius value of a Light ObjectReference. Useful for Lights that have been spawned at run-time.
*'''GetLightRadius''', '''SetLightRadius''' - Modify the radius value of a Light ObjectReference. Useful for Lights that have been spawned at run-time.
Anonymous user