Difference between revisions of "03E7"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
− | {{Icon| | + | {{OpCode |
− | + | | games = {{Icon|t}} | |
− | + | | command = FLASH_HUD_OBJECT | |
− | + | | description = Flashes the HUD item | |
− | + | | syntax1 = 03E7: flash_hud [''int''] | |
− | + | | p1t = [''int''] | |
− | + | | p1d = HUD item ([[#HUD flash items|see below]]) | |
− | + | }} | |
− | |||
− | This opcode flashes | + | 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. |
− | {| class="wikitable" | + | == HUD flash items == |
− | ! | + | {|class="wikitable center-col-1" |
+ | !Item ||[[SCM language III/VC definitions#HUD_FLASH|Enum]] ||Notes | ||
|- | |- | ||
− | | -1 || || disables all flashing | + | | -1 ||||disables all flashing |
|- | |- | ||
− | | <s>0</s> || <s>HUD_FLASH_WEAPON</s> || | + | |<s>0</s> ||<s>HUD_FLASH_WEAPON</s> || |
|- | |- | ||
− | | <s>1</s> || <s>HUD_FLASH_CLOCK</s> || | + | |<s>1</s> ||<s>HUD_FLASH_CLOCK</s> || |
|- | |- | ||
− | | <s>2</s> || <s>HUD_FLASH_SCORE</s> || | + | |<s>2</s> ||<s>HUD_FLASH_SCORE</s> || |
|- | |- | ||
− | | 3 || HUD_FLASH_ARMOUR || flash only armor | + | |3 ||HUD_FLASH_ARMOUR ||flash only armor |
|- | |- | ||
− | | 4 || HUD_FLASH_HEALTH || flash only health | + | |4 ||HUD_FLASH_HEALTH ||flash only health |
|- | |- | ||
− | | <s>5</s> || <s>HUD_FLASH_WANTED</s> || | + | |<s>5</s> ||<s>HUD_FLASH_WANTED</s> || |
|- | |- | ||
− | | <s>6</s> || <s>HUD_FLASH_ZONE_NAME</s> || | + | |<s>6</s> ||<s>HUD_FLASH_ZONE_NAME</s> || |
|- | |- | ||
− | | <s>7</s> || <s>HUD_FLASH_CAR_NAME</s> || | + | |<s>7</s> ||<s>HUD_FLASH_CAR_NAME</s> || |
|- | |- | ||
− | | 8 || HUD_FLASH_RADAR || flash only radar | + | |8 ||HUD_FLASH_RADAR ||flash only radar |
|- | |- | ||
− | | <s>9</s> || <s>HUD_FLASH_BLIP</s> || | + | |<s>9</s> ||<s>HUD_FLASH_BLIP</s> || |
|- | |- | ||
− | | 10 || || flash only breath bar (SA only) | + | |10 ||||flash only breath bar (SA only) |
|} | |} | ||
== Keywords == | == Keywords == | ||
− | flash, blink, hud, heads up display, object | + | flash, blink, hud, heads up display, object, item |
− | |||
− |
Latest revision as of 03:04, 21 December 2016
- 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 | |
3 | HUD_FLASH_ARMOUR | flash only armor |
4 | HUD_FLASH_HEALTH | flash only health |
8 | HUD_FLASH_RADAR | flash only radar |
10 | flash only breath bar (SA only) |
Keywords
flash, blink, hud, heads up display, object, item