LifePlay-Revival/Docs/Modding/Functions/Condition_Functions/isEquipped.txt

17 lines
375 B
Text
Raw Normal View History

2018-07-26 05:54:22 +00:00
Actor.isEquipped(Slot) returns bool
Check if an actor is wearing any clothes in a certain 'slot'. Will return true even if it's an underwear hidden under other clothes. The slots are:
Outerwear
Headwear
Eyewear
Top
Top_Under
Bottom
Bottom_Under
Foot
Foot_Under
EXAMPLE:
If John.isEquipped(Bottom_Under)
"John is wearing a pair of boxers or something."
Endif