Wow Trinket Slot Number Macro

Posted on  by admin

Here is a list of the item slot numbers for your character: Head = 1 Neck = 2 Shoulders = 3 Body = 4 (shirt) Chest = 5 Waist = 6 Legs = 7 Feet = 8 Wrist = 9 Hand = 10 Finger1 = 11 Finger2 = 12 Trinket1 = 13 Trinket2 = 14 Back = 15 Mainhand = 16 Offhand = 17 Tabard = 19. Here is a graphical explaination of your character's item slot numbers. Community Forums UI & Macros. What is the Item # for trinket slot 2? Post Reply - 114062. Joined on 2008/01/02 Posts: 26. As I understand it, this type of macro won't work quite this way. My recommendation would be to make different modifer keys do different parts of this, so like, press G to equip trinket 1, press alt-G to use trinket 1 and then equip trinket 2, shift-G to use trinket 2. Something like that would work, but it's not what you're looking for exactly. /use slot This form of use allows you to use an item in the specified slot. See also InventorySlotId for lists of the slot numbers. Example: /use 13 Uses whatever is in your top trinket slot. /use slot You can also use an item in a specific bag location.

Macros
General guides

Macros Beginners Guide
Making a macro
Macro conditionals
Macro commands
Category:Macros

Useful macros by class


Main Menu

This page lists macro conditionals, keywords used with macro commands, the RestrictedEnvironment and the SecureStateDriver API to allow limited logic for player convenience without trivializing the game.

Refer to secure command options for syntax and making a macro for a tutorial.

Targeting keywords

Targeting keywords begin with @ and assign a temporary target to the macro command. (This does not change the player's selected target.)

@unitId
Any valid unitId.
@cursor
Immediately targets the ground under the cursor.
@none
Interupts auto self-cast and requires a targeting cursor.

Boolean conditions

All other conditionals evaluate as either true to execute the macro command, or false to skip it. The no prefix reverses this (ie, nodead means alive).

The following tables categorize each boolean condition by whether it evaluates the state of any target, only the player, or the user interface.


Evaluated against a target
Macro ConditionalSimilar APIDescription
existsUnitExists()The unit exists
help, harmUnitCanAssist() and UnitCanAttack()The unit exists and can be targeted by helpful/harmful spells
deadUnitIsDeadOrGhost()The unit exists and is dead
party, raidUnitInParty() and UnitInRaid()The unit exists and is in your party/raid
unithasvehicleuiUnitInVehicle()The unit exists and is in a vehicle


Evaluated against the player only
Macro ConditionalSimilar APIDescription
canexitvehicleCanExitVehicle()In a vehicle and able to exit
channeling, channeling:spellNameUnitChannelInfo('player') and ChannelInfo()Channeling any spell, or a certain spell
combatInCombatLockdown or UnitAffectingCombat('player')In combat
equipped:type, worn:typeIsEquippedItemType(type)Refer to itemType for possible types (ie, weapon) and subtypes (ie, sword)
flyableIsFlyableArea()Unreliable in Wintergrasp
flyingIsFlying()Mounted or flight form, and in the air
form:n, stance:nGetShapeshiftForm()Refer to GetShapeshiftForm for possible values
group, group:party, group:raidIsInGroup() and IsInRaid()Self-explanatory
indoors, outdoorsIsIndoors() and IsOutdoors()Self-explanatory
mountedIsMounted()Self-explanatory
pet:name, pet:familyUnitCreatureFamily('pet')Using a hunter pet by name or family
petbattleC_PetBattles.IsInBattle()In a pet battle
restingIsResting()In a rested zone
spec:n, spec:n1/n2GetActiveSpecGroup(false)Activated the n'th (or any of n1, n2) spec
stealthIsStealthed()Self-explanatory
swimmingIsSubmerged()Self-explanatory
talent:row/colThe given row/col talent is active


Evaluated against the user interface (action bars, keyboard, mouse)
Macro ConditionalSimilar APIDescription
actionbar:n, bar:n, or bar:n1/n2/...GetActionBarPage()The n'th (or any of n1, n2, ...) action bar page appears
bonusbar, bonusbar:nHasBonusActionBar()The bonus action bar is visible; see
button:n, btn:n1/n2/..., btn:<virtual click>OnClickThe mouse button used as left (1), right (2), middle (3), extra (4 & 5) or virtual
cursorGetCursorInfo()Dragging an action button (item, spell, macro, etc.)
extrabarHasExtraActionBar()An extra action bar/button is visible
modifier, mod, mod:key, mod:actionIsModifierKeyDown() or IsModifiedClick(action)Accepts shift, ctrl, alt, lshift, rshift, ..., and any action title
overridebarHasOverrideActionBar()The override bar is replacing the main action bar
possessbarIsPossessBarVisible()The possess bar is visible
shapeshiftHasTempShapeshiftActionBar()The temporary shapeshift action bar is replacing the main action bar
vehicleuiHasVehicleActionBar()The vehicle UI is active

Patch changes

Patch 6.0.2 (2014-10-14): 'talent' conditional added.
Patch 2.3.0 (2007-11-13): Several conditions and shorthand alternatives added.[1]
Patch 2.0.1 (2006-12-05): Added.

References

  1. ^Iriel and slouken 2007-08-08. Re: Upcoming 2.3 Changes - Concise List.

Wow Trinket Slot Number Macros

Retrieved from 'https://wow.gamepedia.com/Macro_conditionals?oldid=5909111'

Name: Holy Light

Wow Macro Trinket Slot Number

#showtooltip<br />/use Core of Ripeness<br />/cast Avenging Wrath<br />/cast Holy Light

Once again, the macro is named the move that I want to mainly use, and I wont forget when I give it a quick look during combat.

I'm using '#showtooltip' to show me what I'm using. At first, when my trinket isn't used, it will show me the tooltip for the trinket 'Core of Ripeness', since it can be used. If you want, you can choose which tooltip you want the macro to show. For this example, I want it to always show 'Holy Light', instead of showing 'Avenging Wrath' at all, so, I change the first line from '#showtooltip' to '#show Holy Light'. It would look like this:

Wow macro trinket slot number

#show Holy Light<br />/use Core of Ripeness<br />/cast Avenging Wrath<br />/cast Holy Light

The second line uses my trinket 'Core of Ripeness'. Now, 'use' has different functions in World of Warcraft.

1. It can use the 'use' function of an item and 2. it can equip an item. This may be good if your trinket is always in that slot. But if you're always switching out trinkets and using them for different fights, then this macro isn't as effective. To make maximum use of this macro you will have to make sure that your 'use' trinket is in the same item slot. This is because all items on your character has a slot number. For example, your Weapons, offhand and mainhand, have the slot numbers of 17 and 16, and your relic, wand, or ranged weapon slot number is 18. For this example, I put my use trinkets in the bottom slot, which is slot number 14. To make this macro work for all the 'use' trinkets I have for the different fights and situations I would write:

#show Holy Light<br />/use 14<br />/cast Avenging Wrath<br />/cast Holy Light

For even more effectiveness, just in case you don't remember which slot your 'use' trinket is in:

#show Holy Light<br />/use 13<br />/use 14<br />/cast Avenging Wrath<br />/cast Holy Light
This will use both slots, but only your usable trinket is usable, so, the macro will use it. If you have two 'use' trinkets, the macro will use whatever is in slot 13 (the top trinket), the other trinket will have a 20 second cool down. If you're spamming this macro then there will be no problem in getting full use of both of the 'use' trinkets.

Tip: This is a great way to spam 'use' trinkets to get the maximum effectiveness, especially for healers. For caster damage dealers, this may not be a good macro because you may want to use your trinkets at the most opportune time. We'll go over DPS macros soon!