Difference between revisions of "01B4"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
{{OpCode | {{OpCode | ||
| ini = 01B4=2, %1d% %2d% | | ini = 01B4=2, %1d% %2d% | ||
− | | description = Toggles player | + | | description = Toggles player movability |
| p1 = Variable | | p1 = Variable | ||
| p2 = Boolean value (0/1) | | p2 = Boolean value (0/1) | ||
| game = [[GTA 3]], [[Vice City]], [[San Andreas]] | | game = [[GTA 3]], [[Vice City]], [[San Andreas]] | ||
}} | }} | ||
− | This opcode can | + | This opcode can be used to lock the player at it's current position. |
==Sanny Builder Example== | ==Sanny Builder Example== | ||
− | <source lang="scm">01B4: set_player $PLAYER_CHAR can_move | + | <source lang="scm">01B4: set_player $PLAYER_CHAR can_move 0 // lock player</source> |
==Keywords== | ==Keywords== | ||
− | player, | + | player, movability, toggle |
Revision as of 15:53, 7 October 2010
{{{games}}}
- Description
- Toggles player movability
- Syntax
- {{{syntax1}}}
- Parameter
This opcode can be used to lock the player at it's current position.
Sanny Builder Example
01B4: set_player $PLAYER_CHAR can_move 0 // lock player
Keywords
player, movability, toggle