Method AddScenarioEvent
AddScenarioEvent(IScenarioEvent)
Adds the given event to the main scenario
Declaration
RideID AddScenarioEvent(IScenarioEvent scenarioEvent)
Parameters
Type | Name | Description |
---|---|---|
IScenarioEvent | scenarioEvent | The event to add |
Returns
Type | Description |
---|---|
RideID | The scenario event id |
AddScenarioEvent(RideID, IScenarioEvent)
Adds the given event to the given scenario
Declaration
RideID AddScenarioEvent(RideID scenarioId, IScenarioEvent e)
Parameters
Type | Name | Description |
---|---|---|
RideID | scenarioId | The scenario to use the event |
IScenarioEvent | e | The event to add |
Returns
Type | Description |
---|---|
RideID | The scenario event id |