Difference between revisions of "059C"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|VC}} {{Icon|SA}} '''SET_ONSCREEN_COUNTER_FLASH_WHEN_FIRST_DISPLAYED''' <hr /> '''Description''' : Sets the onscreen counter to flash when first displayed '''Syntax''' :...")
 
(steam has this also)
 
Line 1: Line 1:
{{Icon|VC}} {{Icon|SA}} '''SET_ONSCREEN_COUNTER_FLASH_WHEN_FIRST_DISPLAYED'''
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}} {{Icon|SA}}
'''Description'''
+
| command    = SET_ONSCREEN_COUNTER_FLASH_WHEN_FIRST_DISPLAYED
: Sets the onscreen counter to flash when first displayed
+
| description = Sets the onscreen counter to flash when first displayed
'''Syntax'''
+
| syntax1    = 059C: enable_status_text [''global var''] flashing [''int'']
: 059C: enable_status_text [''global var''] flashing [''int'']
+
| p1t        = [''global var'']
'''Parameter'''
+
| p1d        = Global variable containing an integer value
: [''global var'']
+
| p2t        = [''int'']
:: Global variable containing an integer value
+
| p2d        = 0 = no flashing, 1 = flashing (default)
: [''int'']
+
}}
:: 0 = no flashing, 1 = flashing (default)
 
  
{{Icon|VC}} (Japanese version only)
 
<hr />
 
'''Description'''
 
: Checks if the game is Japanese
 
'''Syntax'''
 
: 059C: &nbsp; japanese_game
 
'''Parameter'''
 
: [''none'']
 
  
This conditional opcode returns true if the game is Japanese.{{ref|1}} Only Japanese versions of the game contain this opcode and will always return true for them. This is the last opcode available for that version of Vice City.
+
{{OpCode
 +
| games      = {{Icon|VC}} (Japanese and Steam versions only)
 +
| description = Checks if the game is Japanese
 +
| syntax1    = 059C: &nbsp; japanese_game
 +
| p1t        = ''none''
 +
}}
 +
 
 +
This conditional opcode returns true if the game is Japanese.{{ref|1}} For the Japanese version of the game, it will always return true. For the Steam version, it will always return false. This is the last opcode available for those versions of Vice City.
  
 
== Keywords ==
 
== Keywords ==
Line 27: Line 25:
 
== Reference ==
 
== Reference ==
 
{{note|1}} {{GTAF|post|768235|1067678861}}, Japanese version mission script discussion
 
{{note|1}} {{GTAF|post|768235|1067678861}}, Japanese version mission script discussion
 
[[Category:OpCodes]]
 

Latest revision as of 22:17, 22 September 2016

Vice City San Andreas SET_ONSCREEN_COUNTER_FLASH_WHEN_FIRST_DISPLAYED


Description
Sets the onscreen counter to flash when first displayed
Syntax
059C: enable_status_text [global var] flashing [int]
Parameter
[global var]
Global variable containing an integer value
[int]
0 = no flashing, 1 = flashing (default)


Vice City (Japanese and Steam versions only)


Description
Checks if the game is Japanese
Syntax
059C:   japanese_game
Parameter
none

This conditional opcode returns true if the game is Japanese.[1] For the Japanese version of the game, it will always return true. For the Steam version, it will always return false. This is the last opcode available for those versions of Vice City.

Keywords

set, enable, onscreen, counter, status, text, bar, flash, flashing

Reference

^ Post.png Post on GTAForums, Japanese version mission script discussion