058E

From GTAMods Wiki
Revision as of 19:10, 2 June 2016 by Spaceeinstein (talk | contribs) (Created page with "thumb|Entering a taxi shortcut for mission {{OpCode | games = {{Icon|VC}} | command = SET_<wbr>SHORTCUT_<wbr>DROPOFF_<wbr>POINT_<wbr>FOR_<wbr>MISSI...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
File:058E.jpg
Entering a taxi shortcut for mission

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

This opcode sets the taxi shortcut drop off point for mission. Pickup 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 pickup 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, and the player character exits the taxi. The taxi is marked as no longer needed and becomes random 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