I dont know if this goes here, but I need some help.
1.How do I make a unit always move in any direction when it spawns?
1a. How do I make a unit spawn when, lets say, 10 second are up?
1b. How do I make it so if you hit that unit, your unit dies?
2. How do you put up a timer (so that it shows 10 seconds and it counts down?)
2a. How do you make the timer to reset at a given time? Lke, when 10 sec. are up, it resets to 15.
1. the easiest way that you could make this is by an event that fires when the units have no order. The action should be that you make an order to that unit to a random place in the map
1a. There is an event called 'time elapsed', so with this you can make an event after 10 seconds.
1b. You can easily select the attacking via the event 'unit takes damage' and after that you must make a condition that the triggering units is you main unit. the only action is 'kill unit' selecting the 'damaging unit' function.
For a timer window, it's a bit more complicated. Since I have not many time to make you this, I strongly recommand you to search on the website.
its alot harder to get help when posting in the wrong section of the forum.
1. You can add a wonder behavior, or do a looping trigger. So Data or Trigger Forum.
2. You have todo this via triggers theres a bunch of tutorials. make a trigger that creates a timer. attach timer to global variable, then reset on expiration. so Trigger Forum
Quote from tatatatate:
1. the easiest way that you could make this is by an event that fires when the units have no order. The action should be that you make an order to that unit to a random place in the map
1a. There is an event called 'time elapsed', so with this you can make an event after 10 seconds.
1b. You can easily select the attacking via the event 'unit takes damage' and after that you must make a condition that the triggering units is you main unit. the only action is 'kill unit' selecting the 'damaging unit' function.
For a timer window, it's a bit more complicated. Since I have not many time to make you this, I strongly recommand you to search on the website.
----
1a: Do I need to make a region? What do I do for actions? what are the conditions? Example of what I want to happen: Create 1 zergling after 10 seconds.
Ahhh well well well.... Finally I changed my mind and I made you everything you wanted.
So my trigger named 'Spawn example, timer example' solved your question 1a, 2 and 2a.
My move example (for your question 1) trigger is bit more tricky. you need to create a buff that will be deactivated if the caster have no order or is not forced to move (like for an attack). After that, you can select your buff in the event to make the unit moves forever. You can also make the unit unstoppable in unit's flags, so even if the unit is stunned by an effect, it will still moves.
Your last question is about to kill every units that attacks your main (question 1b). You will see that it is easy. I also put a condition that return true if the type of the unit is a zergling (that's a basic condition, so I recommand you to be more specific) and it will kill every marine that attacks it.
I dont know if this goes here, but I need some help.
1.How do I make a unit always move in any direction when it spawns?
1a. How do I make a unit spawn when, lets say, 10 second are up?
1b. How do I make it so if you hit that unit, your unit dies?
2. How do you put up a timer (so that it shows 10 seconds and it counts down?)
2a. How do you make the timer to reset at a given time? Lke, when 10 sec. are up, it resets to 15.
Thank you for any help!
bump
1. the easiest way that you could make this is by an event that fires when the units have no order. The action should be that you make an order to that unit to a random place in the map
1a. There is an event called 'time elapsed', so with this you can make an event after 10 seconds.
1b. You can easily select the attacking via the event 'unit takes damage' and after that you must make a condition that the triggering units is you main unit. the only action is 'kill unit' selecting the 'damaging unit' function.
For a timer window, it's a bit more complicated. Since I have not many time to make you this, I strongly recommand you to search on the website.
its alot harder to get help when posting in the wrong section of the forum.
1. You can add a wonder behavior, or do a looping trigger. So Data or Trigger Forum.
2. You have todo this via triggers theres a bunch of tutorials. make a trigger that creates a timer. attach timer to global variable, then reset on expiration. so Trigger Forum
Quote from tatatatate:
1. the easiest way that you could make this is by an event that fires when the units have no order. The action should be that you make an order to that unit to a random place in the map
1a. There is an event called 'time elapsed', so with this you can make an event after 10 seconds.
1b. You can easily select the attacking via the event 'unit takes damage' and after that you must make a condition that the triggering units is you main unit. the only action is 'kill unit' selecting the 'damaging unit' function.
For a timer window, it's a bit more complicated. Since I have not many time to make you this, I strongly recommand you to search on the website.
----
1a: Do I need to make a region? What do I do for actions? what are the conditions? Example of what I want to happen: Create 1 zergling after 10 seconds.
Ahhh well well well.... Finally I changed my mind and I made you everything you wanted.
So my trigger named 'Spawn example, timer example' solved your question 1a, 2 and 2a.
My move example (for your question 1) trigger is bit more tricky. you need to create a buff that will be deactivated if the caster have no order or is not forced to move (like for an attack). After that, you can select your buff in the event to make the unit moves forever. You can also make the unit unstoppable in unit's flags, so even if the unit is stunned by an effect, it will still moves.
Your last question is about to kill every units that attacks your main (question 1b). You will see that it is easy. I also put a condition that return true if the type of the unit is a zergling (that's a basic condition, so I recommand you to be more specific) and it will kill every marine that attacks it.
I hope that it helped you a bit
Quote from tatatatate:
I hope that it helped you a bit
----
Thanks.
2 more questions lol:
1. How do you make in-game instructions? or in-game help?
2. How do you put everything on a new map without having to redo everything you did?