058E

From GTAMods Wiki
Jump to navigation Jump to search
Entering a taxi shortcut

Vice City SET_SHORTCUT_DROPOFF_POINT_FOR_MISSION


Description
Sets the taxi shortcut drop-off point for mission
Syntax
058E: set_restart_mission_taxi_destination [flt1] [flt2] [flt3] [flt4]
Parameter
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate
[flt4]
Heading in degrees

This opcode sets the taxi shortcut drop-off point for mission. Pick-up points are set using opcode 058D. After the drop-off point is set, when the player dies or gets arrested, a marked Kaufman Cab is spawned at the closest pick-up point. When pressing button 15 near it, controls are disabled and the player character enters it as a passenger. The taxi will drive straight while the screen fades out to black and a big message with GXT key TAXI ("Taxi") is displayed. The taxi then warps to the drop-off point, the screen fades back in, $9 is removed, the player character exits the taxi, and controls are resumed. The taxi is marked as no longer needed and becomes a normal traffic taxi. The destination requires a ground to spawn on, otherwise it spawns in unexpected positions. Only the most recent drop-off point is used.

This opcode is generally called at the beginning of missions although it is not required to do so. If the player dies or gets arrested during a mission, the taxi can be used as a shortcut to get back to the contact point. The taxi shortcut is disabled if 0318 or 0595 is called, usually when the player passes a mission, or when a rampage is started.

Keywords

set, restart, taxi, cab, mission, shortcut, dropoff, drop, off, destination, point, mission

See also

  • Vice City 0556, sets up a taxi shortcut anytime