Difference between revisions of "01B9"
Jump to navigation
Jump to search
(Created page with '{{OpCode | ini = 01B9=2,set_actor %1d% armed_weapon_to %2d% | description = Sets an actor's armed weapon. | p1 = Actor variable | p2 = Weapon ID numb…') |
(page updates) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{Icon|t}} '''SET_CURRENT_CHAR_WEAPON''' |
− | + | <hr /> | |
− | + | '''Description''' | |
− | + | : Sets the current weapon of the character | |
− | + | '''Syntax''' | |
− | + | : 01B9: set_actor [''char handle''] armed_weapon_to [''int''] | |
− | + | '''Parameter''' | |
+ | : [''char handle''] | ||
+ | :: The handle of the character | ||
+ | : [''int''] | ||
+ | :: [[Weapon#Lists of Weapons|Weapon number]] | ||
− | This opcode sets the weapon | + | This opcode sets the current weapon of the character. It has no effect if the character does not have the weapon. |
− | == | + | == Keywords == |
+ | set, current, character, actor, weapon, arm, armed | ||
− | + | [[Category:OpCodes]] | |
− | |||
− | |||
− |
Revision as of 05:05, 31 July 2015
Description
- Sets the current weapon of the character
Syntax
- 01B9: set_actor [char handle] armed_weapon_to [int]
Parameter
- [char handle]
- The handle of the character
- [int]
This opcode sets the current weapon of the character. It has no effect if the character does not have the weapon.
Keywords
set, current, character, actor, weapon, arm, armed