Difference between revisions of "03E7"

From GTAMods Wiki
Jump to navigation Jump to search
(updating page)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Icon|trilogy}} '''FLASH_HUD_OBJECT'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode|
+
| command    = FLASH_HUD_OBJECT
'''Description'''
+
| description = Flashes the HUD item
: Flashes a HUD object
+
| syntax1    = 03E7: flash_hud [''int'']
'''Syntax'''
+
| p1t        = [''int'']
: 03E7: flash_hud [''int'']
+
| p1d        = HUD item ([[#HUD flash items|see below]])
'''Parameter'''
+
}}
: [''int'']
 
:: [[03E7#HUD object|HUD object]]
 
  
This opcode flashes a HUD (heads-up display) object. The opcode can only flash one HUD object at a time. It can't be combined to flash more than one HUD objects at the same time. Only three values have an effect in GTA III and Vice City and four in San Andreas. Any other values are treated similarly to value -1.
+
This opcode flashes the HUD (heads-up display) item. Only one HUD item can flash at a time; flashing one item disables the flashing of all others. Only three values have an effect in GTA III and Vice City and four in San Andreas. Any other values are treated similarly to value -1, which disables all flashing.
}}</onlyinclude>
 
  
== HUD object ==
+
== HUD flash items ==
{| class="wikitable"
+
{|class="wikitable center-col-1"
! Value
+
!Item ||[[SCM language III/VC definitions#HUD_FLASH|Enum]] ||Notes
! Object
 
 
|-
 
|-
| -1
+
| -1 ||||disables all flashing
| Nothing
 
 
|-
 
|-
| 3
+
|<s>0</s> ||<s>HUD_FLASH_WEAPON</s> ||
| Armor
 
 
|-
 
|-
| 4
+
|<s>1</s> ||<s>HUD_FLASH_CLOCK</s> ||
| Health
 
 
|-
 
|-
| 8
+
|<s>2</s> ||<s>HUD_FLASH_SCORE</s> ||
| Radar
 
 
|-
 
|-
| 10
+
|3 ||HUD_FLASH_ARMOUR ||flash only armor
| Breath bar (SA only)
+
|-
 +
|4 ||HUD_FLASH_HEALTH ||flash only health
 +
|-
 +
|<s>5</s> ||<s>HUD_FLASH_WANTED</s> ||
 +
|-
 +
|<s>6</s> ||<s>HUD_FLASH_ZONE_NAME</s> ||
 +
|-
 +
|<s>7</s> ||<s>HUD_FLASH_CAR_NAME</s> ||
 +
|-
 +
|8 ||HUD_FLASH_RADAR ||flash only radar
 +
|-
 +
|<s>9</s> ||<s>HUD_FLASH_BLIP</s> ||
 +
|-
 +
|10 ||||flash only breath bar (SA only)
 
|}
 
|}
  
 
== Keywords ==
 
== Keywords ==
flash, blink, hud, heads up display, object
+
flash, blink, hud, heads up display, object, item
 
 
[[Category:OpCodes]]
 

Latest revision as of 03:04, 21 December 2016

GTA III Vice City San Andreas FLASH_HUD_OBJECT


Description
Flashes the HUD item
Syntax
03E7: flash_hud [int]
Parameter
[int]
HUD item (see below)

This opcode flashes the HUD (heads-up display) item. Only one HUD item can flash at a time; flashing one item disables the flashing of all others. Only three values have an effect in GTA III and Vice City and four in San Andreas. Any other values are treated similarly to value -1, which disables all flashing.

HUD flash items

Item Enum Notes
-1 disables all flashing
0 HUD_FLASH_WEAPON
1 HUD_FLASH_CLOCK
2 HUD_FLASH_SCORE
3 HUD_FLASH_ARMOUR flash only armor
4 HUD_FLASH_HEALTH flash only health
5 HUD_FLASH_WANTED
6 HUD_FLASH_ZONE_NAME
7 HUD_FLASH_CAR_NAME
8 HUD_FLASH_RADAR flash only radar
9 HUD_FLASH_BLIP
10 flash only breath bar (SA only)

Keywords

flash, blink, hud, heads up display, object, item