Difference between revisions of "IsCarryable"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Chesko
(Functionality verified via reverse-engineering.)
 
Line 1: Line 1:
Returns 1 if this target object can be picked up. Used by [[Idle Animations]].
This condition function returns 1 if the target object is any of the following form types, or 0 otherwise.
 
* [[Ammo]]
* Apparatus (development leftover from Oblivion)
* [[Armor]]
* [[Book]]
* [[Constructible Object]]
* [[Ingredient]]
* [[Key]]
* [[Leveled Item]]
* [[Light]]
** The condition ''does not'' check whether the Light form is flagged as being carryable. All lights are considered carryable.
* [[MiscItem]]
* Note (development leftover from Fallout 3 and New Vegas)
* [[Potion]]
* [[Scroll]]
* [[Soul Gem]]
* [[Weapon]]
 
The intended use is for [[Idle Animations]].


== Example ==
== Example ==

Latest revision as of 16:00, 17 August 2024

This condition function returns 1 if the target object is any of the following form types, or 0 otherwise.

The intended use is for Idle Animations.

Example[edit | edit source]

The following would return true if the target object can be picked up.

Chesko confunc IsCarryable.jpg