Great tutorial, but It would have been nice to make tutorial about units that can shoot attached to units. The spinecrawler example is really hard to get and not as usefull as other attachments could be.
Iv been doing this for 2 days and still cannot get this right...When I fix something, something other goes wrong. The unit is attached right, but it doesnt attack :/.
There is End game trigger, where you can set which player wins/loses.
If that is what you looking for...just search End game in triggers...If you want all those conditions to end the game, I suggest trying to study triggers a bit. It shouldnt be too complicated.
Yup It stays. Other way to do it is to make new region everytime you move unit, but there would be no point int that since you can attach region to unit....
There are plenty of ways of doing this. I quess I would suggest using action definition. I just got to know action definitions and I made a nice spell with them.
I think there deffinetly is some leak issues. Iv tried spamming my spells but it causes lagg after a while. In wc3 that never happened since I could remove those leaks myself (custom/trigger spell ofc)....dunno if garbage collector is too slow to pick leaks when you spam something or Is there some bug in my triggers...
I quess I would do it something like this (im not a timer user :/)...
Unit enter region -> Turn on periodic trigger
Periodic trigger:
Every 5seconds
- spawn unit to point (you want).
When using the periodic triggers, you need to put intially on option off from the trigger, so it doesnt run before you activate it.
edit* If you want to have more specific time, you could set periodic trigger run every 0,05sec, or so and calculate the time using variables. Like: every 0,05sec -> set time = time + 0,05sec. If time is 2sec -> spawn unit, set time = 0.
0
Great tutorial, but It would have been nice to make tutorial about units that can shoot attached to units. The spinecrawler example is really hard to get and not as usefull as other attachments could be.
Iv been doing this for 2 days and still cannot get this right...When I fix something, something other goes wrong. The unit is attached right, but it doesnt attack :/.
0
There is End game trigger, where you can set which player wins/loses.
If that is what you looking for...just search End game in triggers...If you want all those conditions to end the game, I suggest trying to study triggers a bit. It shouldnt be too complicated.
0
Yup It stays. Other way to do it is to make new region everytime you move unit, but there would be no point int that since you can attach region to unit....
0
Ok thx guys...too bad I cant do it the way I want, but gotta do it another way then :)
0
There is an option where you can choose what you want to return in action definition, but I have no idea how to use it.
There is also Return function in action menu, but even if you add something to it, it doesnt return it anywhere....
So pls help me and give me good example how to do this. I really need this....
0
There are plenty of ways of doing this. I quess I would suggest using action definition. I just got to know action definitions and I made a nice spell with them.
Tutorial here (not mine): http://www.youtube.com/user/GalaxyEditorTutorial#p/u/53/Om6hlErVTVw
And Im not interested in building the trigger for you. Try to study them and post your results if you have problems.
0
I think there deffinetly is some leak issues. Iv tried spamming my spells but it causes lagg after a while. In wc3 that never happened since I could remove those leaks myself (custom/trigger spell ofc)....dunno if garbage collector is too slow to pick leaks when you spam something or Is there some bug in my triggers...
0
I think you should do video about hex/hexed (or whatever it was called). Its kinda cool map
0
Its nice to have commentaries. Too bad there isnt any good custom maps yet that I would like :<
I liked the partycraft video :D Hilarious
0
Lets see...
I quess I would do it something like this (im not a timer user :/)...
Unit enter region -> Turn on periodic trigger
Periodic trigger: Every 5seconds - spawn unit to point (you want).
When using the periodic triggers, you need to put intially on option off from the trigger, so it doesnt run before you activate it.
0
Yup. I managed to achieve the effect by adding timed life behaviour/effect to unit.
Thx
0
Like you could add in wc3, meaning that you could set specific amount of time before unit dies...
I could use it, but cannot find it.