I need in jass not GUI, I know the basic in GUI but I want to know the basic in jassThe multiboard is like the leaderboard, but better!
All About Multiboards
All About MultiboardsEverything you need to know about multiboards, by Inverted [Please if this helps you, throw me some rep] I.IntroductionII.Setting Up Your MultiboardIII.Customizing / Updating Your MultiboardIV.Hero Icons V.TimersVI.GetLocalPlayer (A different multiboard for every player)...www.hiveworkshop.com
What I want to know is how to modify the position of the table and interact with itConvert your GUI multiboard trigger to Custom Text (Jass) and you'll be able to see all of the Jass code.
Note that some of the functions may be inefficient since there's often two ways of doing something, the GUI way, and the Jass way. The GUI way is almost always easier to use but also almost always less efficient. That being said, you should first focus on getting the code working.[JASS] - Need help understanding JASS triggers (A GUI trigger conversion)
So you can convert GUI triggers to JASS, but I want to say I read somewhere the way they are written are inefficient and leak? I may be misremembering but I guess my main question is this the standard way to go about triggering in JASS Trigger Test Events Unit - A unit Dies...www.hiveworkshop.com
The problem is that I do not know what are the programming lines in jass to modify the position, they could tell me what they areWhat Pyrogasm said. That code is extremely close to being Jass code, all you have to do is add the word "call" in front of each function or "set" if you're messing with a variable, and if that's confusing then you're entering territory that you NEED to understand first before you can progress in either language.
Once you understand the rules of Jass then Lua will come naturally. And if you struggle at first don't worry because there is plenty of information on this site to help you out. Trust me on that, I was the biggest GUI noob until I started asking questions on here, and now I can write the best damn spaghetti code you've ever seen.
globals
framehandle multi1
framehandle multi2
framehandle multi3
framehandle multi1Container
framehandle multi2Container
framehandle multi3Container
endglobals
function CreateMultiboards takes nothing returns nothing
call CreateMultiboardBJ( 4, 2, "Board1" )
set multi1 = BlzGetFrameByName("Multiboard",0)
set multi1Container = BlzGetFrameByName("MultiboardListContainer",0)
call CreateMultiboardBJ( 3, 3, "Board2" )
set multi2 = BlzGetFrameByName("Multiboard",0)
set multi2Container = BlzGetFrameByName("MultiboardListContainer",0)
call CreateMultiboardBJ( 3, 1, "Board3" )
set multi3 = BlzGetFrameByName("Multiboard",0)
set multi3Container = BlzGetFrameByName("MultiboardListContainer",0)
call BlzFrameClearAllPoints(multi1)
call BlzFrameSetPoint(multi1, FRAMEPOINT_TOPRIGHT, multi2, FRAMEPOINT_BOTTOMRIGHT,0,0)
call BlzFrameClearAllPoints(multi2)
call BlzFrameSetPoint(multi2, FRAMEPOINT_TOPRIGHT, multi3, FRAMEPOINT_BOTTOMRIGHT,0,0)
call BlzFrameClearAllPoints(multi3)
call BlzFrameSetAbsPoint(multi3, FRAMEPOINT_TOPRIGHT, 0.5,0.55)
call BlzFrameSetVisible(multi1, true)
call BlzFrameSetVisible(multi2, true)
call BlzFrameSetVisible(multi3, true)
endfunction
call BlzFrameSetPoint(multi1, FRAMEPOINT_TOPRIGHT, multi2, FRAMEPOINT_BOTTOMRIGHT,0,0)
I tried it and it doesn't work for meLooking at Tasyen's code in the Showing 3 Multiboards thread, you can see the functions for modifying it (I converted it to Jass):
I've never actually done this which is why I can't give you an exact answer but this appears to be the line you're looking for:vJASS:globals framehandle multi1 framehandle multi2 framehandle multi3 framehandle multi1Container framehandle multi2Container framehandle multi3Container endglobals function CreateMultiboards takes nothing returns nothing call CreateMultiboardBJ( 4, 2, "Board1" ) call multi1 = BlzGetFrameByName("Multiboard",0) call multi1Container = BlzGetFrameByName("MultiboardListContainer",0) call CreateMultiboardBJ( 3, 3, "Board2" ) call multi2 = BlzGetFrameByName("Multiboard",0) call multi2Container = BlzGetFrameByName("MultiboardListContainer",0) call CreateMultiboardBJ( 3, 1, "Board3" ) call multi3 = BlzGetFrameByName("Multiboard",0) call multi3Container = BlzGetFrameByName("MultiboardListContainer",0) call BlzFrameClearAllPoints(multi1) call BlzFrameSetPoint(multi1, FRAMEPOINT_TOPRIGHT, multi2, FRAMEPOINT_BOTTOMRIGHT,0,0) call BlzFrameClearAllPoints(multi2) call BlzFrameSetPoint(multi2, FRAMEPOINT_TOPRIGHT, multi3, FRAMEPOINT_BOTTOMRIGHT,0,0) call BlzFrameClearAllPoints(multi3) call BlzFrameSetAbsPoint(multi3, FRAMEPOINT_TOPRIGHT, 0.5,0.55) call BlzFrameSetVisible(multi1, true) call BlzFrameSetVisible(multi2, true) call BlzFrameSetVisible(multi3, true) endfunction
vJASS:call BlzFrameSetPoint(multi1, FRAMEPOINT_TOPRIGHT, multi2, FRAMEPOINT_BOTTOMRIGHT,0,0)