LifePlay-Revival/Docs/Modding/Functions/Condition_Functions/isEquipped.txt
2018-07-26 12:54:22 +07:00

17 lines
No EOL
375 B
Text

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