Difference between revisions of "0237"
Jump to navigation
Jump to search
(→Gang IDs) |
|||
Line 1: | Line 1: | ||
− | {{ | + | {{Icon|trilogy}} |
− | + | <hr /> | |
− | + | '''Description''' | |
− | + | : Sets the weapons of the specified gang | |
− | + | '''Syntax''' | |
− | | | + | : {{Icon|3}} {{Icon|VC}} 0237: set_gang [''int1''] primary_weapon_to [''int2''] secondary_weapon_to [''int3''] |
− | | | + | : {{Icon|SA}} 0237: set_gang [''int1''] weapons_to [''int2''] [''int3''] [''int4''] |
− | | | + | '''Parameter''' |
− | + | : [''int1''] | |
− | + | :: [[Gang|Gang number]] | |
− | + | : [''int2''] | |
+ | :: [[Weapon#Lists of Weapons|Weapon number 1]] | ||
+ | : [''int3''] | ||
+ | :: Weapon number 2 | ||
+ | : [''int4''] | ||
+ | :: Weapon number 3 | ||
− | + | This opcode sets the weapons of a specific gang. If a gang's weapons are not set by this opcode, the game will use the default hardcoded gang weapons. | |
− | + | == Keywords == | |
+ | set, weapon, gang | ||
− | + | [[Category:OpCodes]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 02:58, 23 November 2011
Description
- Sets the weapons of the specified gang
Syntax
- 0237: set_gang [int1] primary_weapon_to [int2] secondary_weapon_to [int3]
- 0237: set_gang [int1] weapons_to [int2] [int3] [int4]
Parameter
- [int1]
- [int2]
- [int3]
- Weapon number 2
- [int4]
- Weapon number 3
This opcode sets the weapons of a specific gang. If a gang's weapons are not set by this opcode, the game will use the default hardcoded gang weapons.
Keywords
set, weapon, gang