01D3

From GTAMods Wiki
Jump to navigation Jump to search

GTA III Vice City SET_CHAR_OBJ_LEAVE_CAR


Description

Sets the character's objective to leave a vehicle

Syntax

01D3: actor [char handle] leave_car [car handle]

Parameter

[char handle]
The handle of the character
[car handle]
The handle of an existing vehicle

This opcode allows the character to leave a vehicle while the vehicle is stopped, including when the vehicle is upside down. If the vehicle is moving, the character will attempt to stop the vehicle and then leave it. In Vice City when used on the player, the player character will bail out of the moving vehicle. The character does not have to be in the specified vehicle for this opcode to work. As long as the vehicle exists, calling this opcode will make the character leave any vehicle. The opcode has no effect if the character is on foot.

Keywords

set, actor, character, objective, leave, exit, car, vehicle

See also

  • Vice City 03E2, sets the character's objective to leave any vehicle