it's not only WASD it every trigger that order my unit... the event can be anyting and still will be lag
such as player 1 type the chat....
or player 1 click on dialog item..
i checked it and it very lagy why is so hard to give order by trigger to a unit every few secs without having lags in...
Move Left
Events
UI - Player Any Player presses A key Down with shift Exclude, control Exclude, alt Exclude
Local Variables
Conditions
Game Paused == 0
Actions
Variable - Set Angle[(Triggering player)] = 4
Unit - Order NewHero[(Triggering player)]...
I used the W A S D keys to move HERO Control for each player (4 players total)
and it so slow untill it's order the unit to change his direction...
I have only 1 trigger that works every 1 sec.
I want to change the gas to kills and the mineral to number of controled unit all triggers are ready but i didnt find how to edit their icons the their tooltip...
please help, thank you so much.
i changed to 32 towards cuz the map is 32x32... works ok but the unit still not going Straight is going like this / or this way \.... how can i make it to do this | ? :)
in other words how can i make it to go only forward and his facing will decied the direction?
Edit:
i came up with...
I want to make a unit in a random point in game facing a random angle (depend on the unit that created him)
And soon as he created make him move forward
I Have no idea how to trigger it... mabe u have any ideas?
thx so much guys for helping...:)
i did
Events
Timer - Every 0.1 seconds of Game Time
Local Variables
Conditions
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(NewHero[1] is Cloaked) == true
Then
Unit - Kill...
im wanna make a snake game in sc2 and right now i have tired so many triggers to make the snake die when he get stuck in his tail or others... but i cant get any trigger to work 100%....
how can i do it? plz help me guys...
btw in warcraft 3 editor it was very faking easy :) i just added the...
i some how mange to cruppt my Protoss Cannon in my map for some reason i click Reset Object to Parent and it's icon and model still not wroking and when i testing the map and building it with a wierd model the game crash
im reffering to the orginal of Protoss Cannon not a copy
Please Help
how do i remove it with script?
Set Building[(Player number of (Triggering player))] = (Last created unit)
i wan to remove only to the player that used the trigger and change is building
i want to remove is old unit that been set to Building(his number)
and set new one....