Player::taskStartScenarioInPlace

From RAGE Multiplayer Wiki
Revision as of 17:44, 16 August 2018 by Stuyk (talk | contribs) (→‎Syntax)

Plays a scenario on a Ped at their current location.

unkDelay - Usually 0 or -1, doesn't seem to have any effect. Might be a delay between sequences.
playEnterAnim - Plays the 'Enter' anim if true, otherwise plays the 'Exit' anim. Scenarios that don't have any 'Enter' anims won't play if this is set to true.

Scenario List

Syntax

player.taskStartScenarioInPlace(scenarioName, unkDelay, playEnterAnim);

Required Arguments

  • scenarioName: String
  • unkDelay: int
  • playEnterAnim: Boolean

Return value

  • Undefined

Example

// todo

See also