Skip to main content

Player::taskStartScenarioInPlace

Plays a scenario on a player at their current location.

Syntax

``` player.taskStartScenarioInPlace(scenarioName, unkDelay, playEnterAnim); ```

Required Arguments

  • scenarioName: ( [Scenario List](/scenarios) )
  • unkDelay: (0 or -1 loops infinitely, anything else will only make it run once)
  • playEnterAnim: (True = Play the 'enter' animation, False = Exit animation)

Example

This will play the drilling scenario and constantly loop.

See also