Skip to main content

SearchedArmor

Gets called when the player has searched for armor.

Start a script section

!-- OnEvent SearchedArmor
-- require @evPlayer *evBodyArmorPickup

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: No
  • Event data: PlayerSearchedArmorEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player who searched for armor pickup.
*evBodyArmorPickupreference to BodyArmorPickup objectGets the armor pickup.