UnlockedGenerator
Gets called when the player unlocked the generator.
Start a script section
!-- OnEvent UnlockedGenerator
-- require @evPlayer *evGenerator
# Add your instructions here
- Group: PlayerEvents
- Cancellable: No
- Event data:
PlayerUnlockedGeneratorEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who has unlocked the generator. |
*evGenerator | reference to Generator object | The generator that is involved in the event. |