GeneratorActivating
Gets called when the server will activate generator.
Start a script section
!-- OnEvent GeneratorActivating
-- require *evGenerator $evIsAllowed
# Add your instructions here
- Group: ServerEvents
- Cancellable: Yes
- Event data:
GeneratorActivatingEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
*evGenerator | reference to Generator object | Gets the generator which is being activated. |
$evIsAllowed | bool value | Whether the event is allowed to run. |