- Joined
- Sep 27, 2011
- Messages
- 141
Just got back into modding after reforged came out and trying to play around with the new UI features for a map.
I am trying to move the Command Buttons and succeeding but any action taken or new selection resets them and setting them every 0.03 seconds or so just makes them flicker.
Does anyone know of a solution to this? Thanks, code is below.
Also sorry I forgot how to properly display that.
I am trying to move the Command Buttons and succeeding but any action taken or new selection resets them and setting them every 0.03 seconds or so just makes them flicker.
Does anyone know of a solution to this? Thanks, code is below.
Also sorry I forgot how to properly display that.
Code:
For each (Integer TempInt) from 0 to 11, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
TempInt Not equal to 2
TempInt Not equal to 3
Then - Actions
Set VariableSet TempReal = ((Real(TempInt)) x 0.07)
Custom script: call BlzFrameSetAbsPoint(BlzGetOriginFrame(ORIGIN_FRAME_COMMAND_BUTTON, udg_TempInt), FRAMEPOINT_TOPLEFT, udg_TempReal, 0.3)
Else - Actions