0181
DECLARE_MISSION_FLAG_FOR_CONTACT
- Description
- Links a global variable to the onmission flag for specific contacts
- Syntax
- 0181: on_mission_for [int] flag = [global var]
- 0181: nop
- Parameter
- [int]
- Contact id (see below)
- [global var]
- Global variable
This opcode links a global variable to the onmission flag for specific contacts. It has no effect on the gameplay at all. It seems like during development of GTA III its usage would have allowed custom messages to be printed when a death/arrest has been executed, a feature carried over from GTA 2.[1] This opcode is a no operation in Vice City and San Andreas.
Contacts
Id | Enum | Notes |
---|---|---|
0 | CONTACT_LUIGI | |
1 | CONTACT_JOEY | |
2 | CONTACT_TONI | |
3 | CONTACT_FRANKIE | |
4 | CONTACT_ASUKA | |
5 | CONTACT_KENJI | |
6 | CONTACT_RAY | |
7 | CONTACT_LOVE | |
8 | CONTACT_MARIA | unused |
9 | CONTACT_RAY_SUBURBAN | unused |
10 | CONTACT_ASUKA_SUBURBAN | |
11 | CONTACT_KENJI_SUBURBAN | unused |
12 | CONTACT_8BALL | |
13 | CONTACT_HISPANIC | |
14 | CONTACT_YARDIE | |
15 | CONTACT_HOODS |
Keywords
set, declare, on, mission, flag, contact
Reference
- ^ GTAForums: GTA III Pre-Release Discussion
See also
- 0180, declare general mission flag