Summon random mount macro

Summon random mount macro

by Anmercey » Thu Nov 19, 2015 2:57 pm

help
Anmercey
Sergeant
Sergeant
 

Re: Summon random mount macro

by Mimma » Thu Nov 19, 2015 4:11 pm

Next expansion - Vanilla does not support /castrandom.
Image
User avatar
Mimma
Legionnaire
Legionnaire
 

Re: Summon random mount macro

by Geigerkind » Thu Nov 19, 2015 5:46 pm

If youve got your 4 mounts in the first 4 slots of your first bag it would look like this:
Code: Select all
/script UseContainerItem(0,math.random(1,4));


Dont know if vanilla supports this random function.
My Addons:
DPSMate - A combat analyzation tool (/viewtopic.php?f=63&t=38042)
Vanilla Consolidated Buff-Frames (/viewtopic.php?f=63&t=18189)
Modified Power Auras (/viewtopic.php?f=63&t=18251)
User avatar
Geigerkind
Senior Sergeant
Senior Sergeant
 

Re: Summon random mount macro

by Anmercey » Thu Dec 03, 2015 7:54 pm

Geigerkind wrote:If youve got your 4 mounts in the first 4 slots of your first bag it would look like this:
Code: Select all
/script UseContainerItem(0,math.random(1,4));


Dont know if vanilla supports this random function.


thanks bro! /script UseContainerItem(0,math.random(1,4)); (number bag, 4-0)
Anmercey
Sergeant
Sergeant
 


Return to Addons & macros