Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 00AF

Opcode Database

00AF

DescriptionAdds a mission for the car. A car can have multiple missions at once.

Missions
0, None / Idle, MISSION_NONE
1, Wander (as set by 00A8), MISSION_CRUISE
2, Ram player from a far position, MISSION_RAMPLAYER_FARAWAY
3, Ram player from a close position (set when mission 2 is given and the car gets close to the player) MISSION_RAMPLAYER_CLOSE
4, Obstruct player from a far position, MISSION_BLOCKPLAYER_FARAWAY
5, Obstruct player from a close position (set when mission 4 is given and the car gets close to the player) MISSION_BLOCKPLAYER_CLOSE
6, Obstruct player (idle, obstructing player) MISSION_BLOCKPLAYER_HANDBRAKESTOP
7, Wait to be deleted MISSION_WAITFORDELETION
8, Follow coords from a far position (as set by 00A7) MISSION_GOTOCOORDS
9, Follow coords from a close position (set when mission 8 is given and the car nears the coords) MISSION_GOTOCOORDS_STRAIGHT
10, Idle emergancy vehicle, MISSION_EMERGENCYVEHICLE_STOP
11, Idle, MISSION_STOP_FOREVER
12, Follow coords accurately from a far position (as set by 02C2) MISSION_GOTOCOORDS_ACCURATE
13, Follow coords accurately from a close position, MISSION_GOTO_COORDS_STRAIGHT_ACCURATE
14, Rockstar have a sense of humor?, MISSION_GOTOCOORDS_ASTHECROWSWIMS
15, Ram a car from far away, MISSION_RAMCAR_FARAWAY
16, Ram a car from close up, MISSION_RAMCAR_CLOSE
17, Block a car from far away, MISSION_BLOCKCAR_FARAWAY
18, Block a car from close up, MISSION_BLOCKCAR_CLOSE
19, Blocking a car, MISSION_BLOCKCAR_HANDBRAKESTOP
20, Heli fly to coords, MISSION_HELI_FLYTOCOORS
21, Attack the player, MISSION_ATTACKPLAYER
22, Plane fly to coords, MISSION_PLANE_FLYTOCOORS
23, Heli land, MISSION_HELI_LAND
24, Slowly drive to player 1, MISSION_SLOWLY_DRIVE_TOWARDS_PLAYER_1
25, Slowly drive to player 2, MISSION_SLOWLY_DRIVE_TOWARDS_PLAYER_2
26, Block player from both directions, MISSION_BLOCKPLAYER_FORWARDANDBACK
29, Follow car (keep to left, as set by 05F1)
30, Follow car (keep to right, as set by 05F2)
31, Follow car (keep behind, as set by 05F3)
32, Follow car (keep in front, as set by 05F4)
Parameters (v2)1) Actor handle (Integer) (INT)
2) Integer (INT)
Gamessa vc iii
CategoryCommon, Vehicle
Command Name (IV)SET_CAR_MISSION
San Andreas
sascm.ini00AF=2,set_car_mission %1d% to %2d%
Example00AF: set_car_mission 62@ to 5
Command NameSET_CAR_MISSION
Vice City
sascm.ini00AF=2,set_car_mission %1d% to %2d%
Example00AF: set_car_mission $2424 to 10
Command NameSET_CAR_MISSION
GTA III
gtascm.ini00AF=2,set_car_mission %1d% to %2d%
Example00AF: set_car_mission $LUIGI4_PIMP_CAR to 11
Command NameSET_CAR_MISSION

<< 00AE

00B0 >>