| tags |
|
|---|
Used to access information about bandolier sets on your character.
: Indicates if the bandolier set is active
: Returns the index number of the bandolier set
: Provides information about the specified item. Returns the Nth item in the set (Primary, Secondary, Ranged, Ammo)
: Returns the name of the bandolier set
| Name | Action |
|---|---|
| Activate | Activate the bandolier profile |
: Returns the icon id for the item
: Returns the item id for the item
: Returns the name of the item
!!! example
=== "MQScript"
```
| Activate the bandolier set named "1HB"
/if (!${Me.Bandolier[1HB].Active}) {
/echo Player want us to activate Bandolier: 1HB.
/invoke ${Me.Bandolier[1HB].Activate}
}
| Print the weapon in the primary bandolier slot
/echo I have a ${Me.Bandolier[1HB].Item[1].Name} in my primary bandolier slot
```
=== "Lua"
```lua
-- Activate the bandolier set named "1HB"
if not mq.TLO.Me.Bandolier('1HB').Active() then
print('Player wants us to activate Bandodlier: 1HB')
mq.TLO.Me.Bandolier('1HB').Activate()
end
-- Print the weapon in the primary bandolier slot
print('I have a ', mq.TLO.Me.Bandolier('1HB').Item(1).Name(), ' in my primary bandolier slot')
```