Difference between revisions of "03E7"

From GTAMods Wiki
Jump to navigation Jump to search
(updating page)
(all named values, including dud ones)
Line 1: Line 1:
 
{{Icon|trilogy}} '''FLASH_HUD_OBJECT'''
 
{{Icon|trilogy}} '''FLASH_HUD_OBJECT'''
 
<hr />
 
<hr />
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode|
 
 
'''Description'''
 
'''Description'''
 
: Flashes a HUD object
 
: Flashes a HUD object
Line 8: Line 7:
 
'''Parameter'''
 
'''Parameter'''
 
: [''int'']
 
: [''int'']
:: [[03E7#HUD object|HUD object]]
+
:: HUD object (see below)
  
 
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 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.
}}</onlyinclude>
 
  
== HUD object ==
 
 
{| class="wikitable"
 
{| class="wikitable"
! Value
+
! Value || Enum || Notes
! Object
 
 
|-
 
|-
| -1
+
| -1 || || disables flashing
| Nothing
 
 
|-
 
|-
| 3
+
| <s>0</s> || <s>HUD_FLASH_WEAPON</s> || no effect
| Armor
 
 
|-
 
|-
| 4
+
| <s>1</s> || <s>HUD_FLASH_CLOCK</s> || no effect
| Health
 
 
|-
 
|-
| 8
+
| <s>2</s> || <s>HUD_FLASH_SCORE</s> || no effect
| Radar
 
 
|-
 
|-
| 10
+
| 3 || HUD_FLASH_ARMOUR || armor
| Breath bar (SA only)
+
|-
 +
| 4 || HUD_FLASH_HEALTH || health
 +
|-
 +
| <s>5</s> || <s>HUD_FLASH_WANTED</s> || no effect
 +
|-
 +
| <s>6</s> || <s>HUD_FLASH_ZONE_NAME</s> || no effect
 +
|-
 +
| <s>7</s> || <s>HUD_FLASH_CAR_NAME</s> || no effect
 +
|-
 +
| 8 || HUD_FLASH_RADAR || radar
 +
|-
 +
| <s>9</s> || <s>HUD_FLASH_BLIP</s> || no effect
 +
|-
 +
| 10 || || breath bar (SA only)
 
|}
 
|}
  

Revision as of 05:00, 29 December 2014

GTA III Vice City San Andreas FLASH_HUD_OBJECT


Description

Flashes a HUD object

Syntax

03E7: flash_hud [int]

Parameter

[int]
HUD object (see below)

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.

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

Keywords

flash, blink, hud, heads up display, object