Difference between revisions of "0256"
Jump to navigation
Jump to search
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
This conditional opcode returns true if you are playing, i.e. the wasted screen or busted screen does not pop up. It is used throughout the script to check if the player exists before executing code that requires the player to exist. | This conditional opcode returns true if you are playing, i.e. the wasted screen or busted screen does not pop up. It is used throughout the script to check if the player exists before executing code that requires the player to exist. | ||
+ | |||
+ | == Example == | ||
+ | :''See [[020A#Example]]'' | ||
== Keywords == | == Keywords == | ||
Line 15: | Line 18: | ||
== See also == | == See also == | ||
* {{Icon|t}} [[0117]], checks if the player is dead | * {{Icon|t}} [[0117]], checks if the player is dead | ||
− | * {{Icon| | + | * {{Icon|3}} [[0130]], checks if the player is arrested |
Latest revision as of 00:10, 21 January 2017
- Description
- Checks if the player is playing
- Syntax
- 0256: player [player handle] defined
- Parameter
- [player handle]
- The handle of the player
This conditional opcode returns true if you are playing, i.e. the wasted screen or busted screen does not pop up. It is used throughout the script to check if the player exists before executing code that requires the player to exist.
Example
- See 020A#Example
Keywords
check, player, defined, playing, alive, dead, busted, arrested, exist