Difference between revisions of "03B1"
Jump to navigation
Jump to search
(Created page with "{{OpCode | games = {{Icon|t}} | command = IS_GARAGE_CLOSED | description = Checks if the garage is closed | syntax1 = {{Icon|3}} {{Icon|VC}} 03B1: gar...") |
m |
||
Line 4: | Line 4: | ||
| description = Checks if the [[garage]] is closed | | description = Checks if the [[garage]] is closed | ||
| syntax1 = {{Icon|3}} {{Icon|VC}} 03B1: garage [''garage handle''] door_closed | | syntax1 = {{Icon|3}} {{Icon|VC}} 03B1: garage [''garage handle''] door_closed | ||
− | | syntax2 = {{Icon|SA}} 03B1: garage [''string''] door_closed | + | | syntax2 = {{Icon|SA}} 03B1: garage '[''string'']' door_closed |
| p1t = [''garage handle''] | | p1t = [''garage handle''] | ||
| p1d = The [[Garage#List of Garages|handle of the garage]] | | p1d = The [[Garage#List of Garages|handle of the garage]] | ||
Line 12: | Line 12: | ||
}} | }} | ||
− | This conditional opcode returns true if the state of the garage is closed. This happens regardless of a door. It only detects state 0 (fully closed), not state 5 (fully closed with vehicle dropped off for garage types 14 or 21). | + | This conditional opcode returns true if the state of the garage is closed. This happens regardless of a physical door. It only detects state 0 (fully closed), not state 5 (fully closed with vehicle dropped off for garage types 14 or 21). |
== Keywords == | == Keywords == | ||
check, garage, door, close, closed | check, garage, door, close, closed |
Latest revision as of 07:22, 7 November 2016
- Description
- Checks if the garage is closed
- Syntax
- 03B1: garage [garage handle] door_closed
- 03B1: garage '[string]' door_closed
- Parameter
- [garage handle]
- The handle of the garage
- [string]
- The name of the garage
- Native analog
- IS_GARAGE_CLOSED
This conditional opcode returns true if the state of the garage is closed. This happens regardless of a physical door. It only detects state 0 (fully closed), not state 5 (fully closed with vehicle dropped off for garage types 14 or 21).
Keywords
check, garage, door, close, closed