Difference between revisions of "0181"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|3}} '''DECLARE_MISSION_FLAG_FOR_CONTACT''' <hr /> '''Description''' : Links a global variable to the onmission flag for specific contacts '''Sy...")
 
m
Line 12: Line 12:
  
 
{| class="wikitable"
 
{| class="wikitable"
! Value || Enum || Notes
+
! Contact || [[SCM language III/VC definitions#CONTACT|Enum]] || Notes
 
|-
 
|-
 
| 0 || CONTACT_LUIGI ||
 
| 0 || CONTACT_LUIGI ||
Line 53: Line 53:
  
 
== See also ==
 
== See also ==
* [[0180]], declare general mission flag
+
* {{Icon|t}} [[0180]], declare general mission flag
  
 
[[Category:OpCodes]]
 
[[Category:OpCodes]]

Revision as of 05:34, 6 December 2015

GTA III 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]

Parameter

[int]
Contact value
[global var]
Global variable
Contact 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

This opcode is a no operation in Vice City and San Andreas.

Keywords

set, declare, on, mission, flag, contact

See also

  • GTA III Vice City San Andreas 0180, declare general mission flag