FlippedCoin
Gets called when the player has flipped a coin.
Start a script sectionโ
!-- OnEvent FlippedCoin
-- require @evPlayer *evCoinItem $evIsTails
# Add your instructions here
- Group: PlayerEvents
- Cancellable: No
- Event data:
PlayerFlippedCoinEventArgs
Injected variablesโ
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | The player who flipped the coin. |
*evCoinItem | reference to CoinItem object | Gets the coin item which was flipped. |
$evIsTails | bool value | Whenever the coin flip is tails. |