Skip to main content

TASK_USE_NEAREST_SCENARIO_TO_POS

Game.TaskUseNearestScenarioToPosHash0x743F30B3
Usage
Game.TaskUseNearestScenarioToPos(charIndex, positionX, positionY, positionZ, range)

Puts the char into the closest scenario to the pos.

Parameters

  • charIndexintegerint
  • positionXnumberfloat
  • positionYnumberfloat
  • positionZnumberfloat
  • rangenumberfloat

Returns

Nothing

Original declaration
// 0x743F30B3
void TASK_USE_NEAREST_SCENARIO_TO_POS(int charIndex, float positionX, float positionY, float positionZ, float range);