[Condition] isEquipped

Post Reply
User avatar
Raddeck
LP Manager
Reactions: 1
Posts: 508
Joined: Sat Oct 16, 2021 6:22 pm
Location: LpWorld
Contact:

Post by Raddeck »

Actor.isEquipped(Slot)


USE:
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

TYPE: Condition, Reference
RETURNS: bool
THEME: Clothes
COMPARE: dress, strip


EXAMPLE:

Code: Select all

    If John.isEquipped(Bottom_Under)
        "John is wearing a pair of boxers or something."
    Endif
Like my work? Buy me a coffee or support me on Patreon to keep it coming. :ugeek:
-Don't PM me for support-
Top
Post Reply