Difference between revisions of "0485"
Jump to navigation
Jump to search
(Created page with "{{Icon|VC}} {{Icon|SA}} '''IS_PC_VERSION''' <hr /> '''Description''' : Checks if the game is PC version '''Syntax''' : 0485: pc_version '''Parameter''' : [''none''] Th...") |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Icon|VC}} {{Icon|SA}} | + | {{OpCode |
− | + | | games = {{Icon|VC}} {{Icon|SA}} | |
− | + | | command = IS_PC_VERSION | |
− | + | | description = Checks if the game is PC version | |
− | + | | syntax1 = 0485: pc_version | |
− | + | | p1t = ''none'' | |
− | '' | + | }} |
− | |||
− | This conditional opcode always returns true as the result for the PC version of the game. Otherwise, it always returns false. The return result is hardcoded into the game. Most mods generally support the PC version of the games so this opcode can generally be used to return true when returning from a [[0050|gosub]] or an [[0AB1|SCM function]] | + | This conditional opcode always returns true as the result for the PC version of the game. Otherwise, it always returns false. The return result is hardcoded into the game. This opcode was never called in the [[Main.scm|original script]] of Vice City. |
+ | |||
+ | Most mods generally support the PC version of the games so this opcode can generally be used to return true when returning from a [[0050|gosub]] or an [[0AB1|SCM function]]. | ||
== Keywords == | == Keywords == | ||
PC, version, game, return, true | PC, version, game, return, true | ||
− | |||
− |
Latest revision as of 13:33, 21 December 2016
- Description
- Checks if the game is PC version
- Syntax
- 0485: pc_version
- Parameter
- none
This conditional opcode always returns true as the result for the PC version of the game. Otherwise, it always returns false. The return result is hardcoded into the game. This opcode was never called in the original script of Vice City.
Most mods generally support the PC version of the games so this opcode can generally be used to return true when returning from a gosub or an SCM function.
Keywords
PC, version, game, return, true