Skip to main content

TASK_START_SCENARIO_AT_POSITION

Game.TaskStartScenarioAtPositionHash0x0F296C2E
Usage
Game.TaskStartScenarioAtPosition(charIndex, scenarioName, x, y, z, heading)

The char will move or warp to the position and heading given, then start the scenario passed.

Parameters

  • charIndexintegerint
  • scenarioNamestringchar*
  • xnumberfloat
  • ynumberfloat
  • znumberfloat
  • headingnumberfloat

Returns

Nothing

Original declaration
// 0x0F296C2E
void TASK_START_SCENARIO_AT_POSITION(int charIndex, char* scenarioName, float x, float y, float z, float heading);