That's not the answer I wanted, but it is the information I needed. Thanks!
- Curse Premium
Member for 8 years, 2 months, and 26 days
Last active Sun, Feb, 25 2018 00:41:57
- 0 Followers
- 6 Total Posts
- 0 Thanks
Nov 26, 2016Posted in: Lua Code Discussion
Does anyone know what attributes to set on a SecureActionButton to summon a battle pet? I was sure I'd figured this out at one point, but when I went back to my notes and tested the code, it didn't work.Code:
btn = CreateFrame("Button", "TestPet", UIParent, "SecureActionButtonTemplate,ActionButtonTemplate"); btn:SetAttribute("type", "summonpet"); btn:SetAttribute("summonpet", C_PetJournal.GetPetInfoByIndex(1)); btn:SetPoint("Center",UIParent)
I can't seem to find any documentation anywhere on what to set the "type" attribute to. GetActionInfo() helpfully tells me "summonpet" is a thing, but is that the type? It's own attribute? Both?
I know summoning pets can be done without going the Secure route, but everything else in AutoBar is secure.
Dec 13, 2015I've tried tagging MuffinLibPTSets to get a Release, but it keeps producing alphas. The documentation states:Posted in: Need Help?
A version string is the name you give your tags when you do a right click -> tag/branch. If this name contains only dots and digits and optionally starts with the letter v (such as "v1.2.3" or "v1.23" or "3.2") or contains the word "release", then it is considered a release tag and a release zip will be created. If the above conditions don't match, it is considered a beta tag and a beta zip will be created. All other commits (that are not tagged) are alphas and alpha zips will be created.
I have tried various combinations of that without any luck.
Nov 17, 2010Posted in: LibrariesQuote from Graubarnoob question - can we use LPT to filter BoE items? I am looking through the files, but didn't see anything. I used to have baggins set up, nicely, where all my BoE drops were nicely grouped together.
I don't think LibPT is a good way to do this. The list of items would be massive and it also wouldn't handle the fact that using a BoE item makes it soulbound, so soulbound items would show up in your list too.
I don't know about Baggins, but ArkInventory can set up rules to handle what you want.
- To post a comment, please login or register a new account.