Go to the source code of this file.
|
| Equipment | equipment (string primary_weapon, string secondary_weapon, string belt_item, string pack, string primary_perk, string secondary_perk) |
| |
| void | setLoadout (string class_name, number loadout_num, Equipment loadout) |
| |
| Equipment equipment |
( |
string |
primary_weapon, |
|
|
string |
secondary_weapon, |
|
|
string |
belt_item, |
|
|
string |
pack, |
|
|
string |
primary_perk, |
|
|
string |
secondary_perk |
|
) |
| |
Creates an Equipment object containing the items to be used
- Parameters
-
| primary_weapon | The primary weapon |
| secondary_weapon | The secondary weapon |
| belt_item | The belt item |
| pack | The pack |
| primary_perk | The primary perk |
| secondary_perk | The secondary perk |
- Returns
- The created loadout
| void setLoadout |
( |
string |
class_name, |
|
|
number |
loadout_num, |
|
|
Equipment |
loadout |
|
) |
| |
Configures the loadout defined by a class and loadout number to use the specified items
This functions allows the use of 9 loadouts per class instead of 6
- Parameters
-
| class_name | The name of the class to define |
| loadout_num | The number of the loadout to define, from 1 to 9 |
| loadout | An Equipment object containing the items to use |