- Joined
- Feb 28, 2013
- Messages
- 1,898
Please ignore this thread, I already fixed all of it
.
Question #1
Hey guys, I just want to ask how do I remove this part? I thought that was part of the minimap but I already managed to remove the minimap but the buttons is still there.
---
Question #2
Hello guys. I'm trying to make command buttons disappear with the new natives. Currently I don't know what should I do to make command buttons completely disappear from the view. I read that it will keep reappearing everytime you command a unit.
• I have to put wait because it doesn't work when the command buttons reappear and you make it disappear at the same time.
Edit: I fixed it by doing this instead, hopefully this is not a bad practice.
Hey guys, I just want to ask how do I remove this part? I thought that was part of the minimap but I already managed to remove the minimap but the buttons is still there.
---
Question #2
Hello guys. I'm trying to make command buttons disappear with the new natives. Currently I don't know what should I do to make command buttons completely disappear from the view. I read that it will keep reappearing everytime you command a unit.
• I have to put wait because it doesn't work when the command buttons reappear and you make it disappear at the same time.
-
Untitled Trigger 001
-
Events
-
Unit - A unit owned by Player 1 (Red) Is issued an order targeting an object
-
Unit - A unit owned by Player 1 (Red) Is issued an order targeting a point
-
Unit - A unit owned by Player 1 (Red) Is issued an order with no target
-
-
Conditions
-
Actions
-
Wait 0.01 seconds
-
Set Frame_CountTemp = 0
-
For each (Integer A) from 0 to 11, do (Actions)
-
Loop - Actions
-
Custom script: call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_COMMAND_BUTTON,udg_Frame_CountTemp), false)
-
Set Frame_CountTemp = (Frame_CountTemp + 1)
-
-
-
-
-
Untitled Trigger 001
-
Events
-
Time - Every 0.01 seconds of game time
-
-
Conditions
-
Actions
-
Set Frame_CountTemp = 0
-
For each (Integer A) from 0 to 11, do (Actions)
-
Loop - Actions
-
Custom script: call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_COMMAND_BUTTON,udg_Frame_CountTemp), false)
-
Set Frame_CountTemp = (Frame_CountTemp + 1)
-
-
-
-
Edit: I fixed it by doing this instead, hopefully this is not a bad practice.
-
For each (Integer A) from 0 to 11, do (Actions)
-
Loop - Actions
-
Custom script: call BlzFrameSetAbsPoint(BlzGetOriginFrame(ORIGIN_FRAME_COMMAND_BUTTON,udg_Frame_CountTemp), FRAMEPOINT_RIGHT, 100, 100)
-
Set Frame_CountTemp = (Frame_CountTemp + 1)
-
-
Attachments
Last edited: