API ConfigureWeaponGroup
From Vendetta Lua
Jump to navigationJump to search
ConfigureWeaponGroup
Type | Name | Description |
---|---|---|
number | id | number of group. 0-5 primary, 6-11 secondary and 12-17 tertiary trigger |
table | port_ids | list of ports active for that group (2-numweaponports) |
function | cb | function to call on completion (optional) |
Type | Name | Description |
---|---|---|
nil |
<source lang=lua> -- enable port 1 and 2 for the primary trigger ConfigureWeaponGroup(0, {2,3}) </source>