Skip to content

IsHostileParticipant

Intended to be used with planted interactables. It will check the prop’s Extras field for an associated player and return true if the specified player is not an ally.

Returns true if the specified player is not allied with the associated player. Also returns true if there is no associated player with the prop.

NameTypeDefaultDescription
propPropThe prop.
participantParticipantThe participant to check.

boolean