LifePlay-Revival/Docs/Modding/Condition_Functions/isVisible.txt

24 lines
497 B
Text
Raw Normal View History

2018-07-27 03:13:53 +00:00
Actor.isVisible(slot)
USE:
Check if an actor is wearing any clothes in a certain 'slot'. Will return false if it's an underwear hidden under other clothes. The slots are:
+Outerwear
+Headwear
+Eyewear
+Top
+Top_Under
+Bottom
+Bottom_Under
+Foot
+Foot_Under
TYPE: Condition, Reference
RETURNS: Bool
THEME: Clothes
COMPARE: isEquipped, dress, strip
EXAMPLE:
If Actor.isVisible(Top_Under) && Actor.isVisible(Bottom_Under)
"I walked in on <Actor.name> wearing nothing but her underwear."
Endif