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.
Parameters
Section titled “Parameters”| Name | Type | Default | Description |
|---|---|---|---|
prop | Prop | The prop. | |
participant | Participant | The participant to check. |
Returns
Section titled “Returns”boolean