058E

From GTAMods Wiki
Revision as of 05:08, 4 June 2016 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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. An active taxi shortcut can be cleared without riding it by calling opcode 0557 or by setting up another taxi shortcut.

Keywords

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

See also

  • Vice City 0556, sets up a taxi shortcut anytime
  • Vice City 0557, clears all taxi shortcuts