Oooooh, that is brilliant! :D
I thought about using functions, but forgot that you can call them inside of themselves -_-
Hard to think i'm a programmer, but hey, everyone has their silly moments :P xD
So after a while I started creating maps again and I've encountered a silly problem... Basically I have a trigger that is activated by pressing a CTRL button. When it's activated the unit owned by the Triggering player gains additional movement speed. When it's pressed again the movement speed resets. Now that's all working like a charm, but the problem is that while the trigger is active aka while the unit has bonus movement speed it's supposed to decrement a variable.
My idea was to make a trigger which runs every x seconds decrementing y value from the global variable.
The problem is that I can't transfer the Triggering player variable to the trigger which decrements the value from the global variable. Both variables are arrays so I need to know which player pressed the button in order to decrement the right value from the variable.
Any help or just an idea is greatly appreciated :D
Hi ppl i have a question i maded my custom map for 1v1 or 2v2 in which you have a dialog in the begining and i have a problem about making those 3rd person cameras for multiple players, cams messed up. So i maded 2 variables of type 'Unit' No Unit, to be last created unit as u told me Onetwo and i think the problem is that the both Variables are set to 'Last Created Unit' (Picture down below). So what i want and my problem is actualy that after the dialog i want 3rd person camera on that unit but couse both variables are set to last created unit they both follow same unit. Any solutions?
I have a little bit of a problem, i created a dialog so when i make Event - "Any Unit Dies" i can't pick a unit couse it's not on a map. can anyone pls help me?
I have maded a new mod and a map, i can run them in 'Test map' and they work fine, but when i try to publish 'em seperatly i get error: document dependency does not specify a battle.net file. So how shoud i publish my mod and then map after if i can't publish mod? Can anyone pls help me? I am making this map so long.
0
@hobbidude: Go
Oooooh, that is brilliant! :D I thought about using functions, but forgot that you can call them inside of themselves -_- Hard to think i'm a programmer, but hey, everyone has their silly moments :P xD
0
Hello everyone.
So after a while I started creating maps again and I've encountered a silly problem... Basically I have a trigger that is activated by pressing a CTRL button. When it's activated the unit owned by the Triggering player gains additional movement speed. When it's pressed again the movement speed resets. Now that's all working like a charm, but the problem is that while the trigger is active aka while the unit has bonus movement speed it's supposed to decrement a variable.
My idea was to make a trigger which runs every x seconds decrementing y value from the global variable.
The problem is that I can't transfer the Triggering player variable to the trigger which decrements the value from the global variable. Both variables are arrays so I need to know which player pressed the button in order to decrement the right value from the variable.
Any help or just an idea is greatly appreciated :D
0
Hi all, does anyone know how to hide a "UnitWireframe"? Here is my code (It doesn't work):
EDIT: Nevermind I found the right frame. If anyone want to know:
0
Hi, I have a Minimap problem, when I anchor MinimapPanel the Minimap is not completly in the middle but it goes more on bottom/right.
(My MinimapPanel is in bottom/right corner with little bit of offset.)
EDIT: (Fixed)
0
Hi ppl i have a question i maded my custom map for 1v1 or 2v2 in which you have a dialog in the begining and i have a problem about making those 3rd person cameras for multiple players, cams messed up. So i maded 2 variables of type 'Unit' No Unit, to be last created unit as u told me Onetwo and i think the problem is that the both Variables are set to 'Last Created Unit' (Picture down below). So what i want and my problem is actualy that after the dialog i want 3rd person camera on that unit but couse both variables are set to last created unit they both follow same unit. Any solutions?
0
I have a little bit of a problem, i created a dialog so when i make Event - "Any Unit Dies" i can't pick a unit couse it's not on a map. can anyone pls help me?
0
I have maded a new mod and a map, i can run them in 'Test map' and they work fine, but when i try to publish 'em seperatly i get error: document dependency does not specify a battle.net file. So how shoud i publish my mod and then map after if i can't publish mod? Can anyone pls help me? I am making this map so long.