Difference between revisions of "0112"
Jump to navigation
Jump to search
(added unused feature) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Icon|t}} | + | {{OpCode |
− | + | | games = {{Icon|t}} | |
− | + | | command = HAS_DEATHARREST_BEEN_EXECUTED | |
− | + | | description = Checks if the player is wasted or busted during a [[Create a mission|mission]] | |
− | + | | syntax1 = 0112: wasted_or_busted | |
− | + | | syntax2 = wasted_or_busted | |
− | + | | p1t = ''none'' | |
− | + | | native = [[HAS_DEATHARREST_EXECUTED]] | |
− | + | }} | |
− | |||
− | |||
− | This conditional opcode returns true if the player is wasted or busted when on a mission. The opcode | + | This conditional opcode returns true if the player is wasted or busted when on a mission. The opcode only has an effect when placed in scripts launched using opcode [[0417]] or, in GTA III and Vice City only, [[00D7]]; it has no effect elsewhere. Using opcode [[0111]] can disable this check for the current script. In GTA III, this opcode also returns true if any vehicle added to the [[0190|upside down cars array]] is [[018F|stuck on its roof]] — this feature is unused in the [[Main.scm|original script]] of GTA III. |
== Keywords == | == Keywords == | ||
check, has, player, wasted, death, arrest, deatharrest, busted, mission, executed | check, has, player, wasted, death, arrest, deatharrest, busted, mission, executed | ||
− | |||
− |
Latest revision as of 20:28, 23 November 2016
- Description
- Checks if the player is wasted or busted during a mission
- Syntax
- 0112: wasted_or_busted
- wasted_or_busted
- Parameter
- none
- Native analog
- HAS_DEATHARREST_EXECUTED
This conditional opcode returns true if the player is wasted or busted when on a mission. The opcode only has an effect when placed in scripts launched using opcode 0417 or, in GTA III and Vice City only, 00D7; it has no effect elsewhere. Using opcode 0111 can disable this check for the current script. In GTA III, this opcode also returns true if any vehicle added to the upside down cars array is stuck on its roof — this feature is unused in the original script of GTA III.
Keywords
check, has, player, wasted, death, arrest, deatharrest, busted, mission, executed