I am absolutely hopeless at triggers, I found that out very quickly, so i was womdering, how would i make it so that when my creeps spawn, they spawn in a line so they aren't bunched up, and how to make them go to point A then point B then point C ect. and lastly, how would i create a trigger that would disable you from blocking the path. Thanks.
To make them spawn in a line and not in a group, have a global interger = 0 by default, for example we will call it creepsSpawned. And when spawning your creeps, say you want 20 max to spawn, you would put in your conditions that creepsSpawned !=(Not Equal To) 20, then in the actions, spawn 1 creep, order last spawned unit for player(creep owner) to move to Point A, set interger creepsSpawned to creepsSpawned + 1, repeat trigger.
This will spawn 1 creep at a time and onyl spawn a max of 20 creeps for this round and because we spawn 1 and then order it to move, the units will move in a line.
To make it so they go from point to point to point to point, you would put a region over each point and then set up triggers that do...
When any unit enters Point A
Triggering unit belongs to Player(Creep)
Order Triggering unit move to Point B
Make 1 trigger like that for each point and it will work fine.
As for anti path, you can just make it so the players towers are not invulnerable and if the creeps cannot find a path they will auto destroy building(s) to get to the point they were ordered to get to.
Before any crit's my trigger, its been a year since I did a trigger so leave me alone lol.
He meant you spawn a unit, order it to move, maybe wait aliitle and then spawn a new units and that way they will move in a straight line. Or do you want them to spawn in a line together?
Pick each integer from 1 to "how many you want" Actions
Create 1 "Unit" for player "player" at "Point A" using default facing
Order Last created unit to (Order Targeting point) move targeting "Point B"
Wait 0.5 seconds (or something)
Thats because I am not posting here to tell you exactly how to do this, I am just telling you the break down of it. If you want to learn how to do these things, then you need to goto tutorials and read some. And don't try telling me there are no tutorials on this as I am the former moderator of the tutorials section and I know there are tutorials on making a TD. We are not going to tell you how to make each and every trigger needed for your maps, learn how to do it yourself by tutorials and just messing around in the editor.
Although you might have been a "FORMER" mod of that section you apperently aren't anymore, and apperently I might be the only one who noticed or the only one who has this problem, but about half the wiki links don't work, or the video has been deleted or the subscriber removed their account ect.
Not at the moment, no I am not the moderator of tutorials, I had to go on leave for millitary reasons and will soon be a moderator again. If the links in the wiki are broken then I suggest telling Sixen about this. Until they are fixed, you can browse and search for tutorials in the tutorial section => LINK
I am absolutely hopeless at triggers, I found that out very quickly, so i was womdering, how would i make it so that when my creeps spawn, they spawn in a line so they aren't bunched up, and how to make them go to point A then point B then point C ect. and lastly, how would i create a trigger that would disable you from blocking the path. Thanks.
@BenSindle: Go
To make them spawn in a line and not in a group, have a global interger = 0 by default, for example we will call it creepsSpawned. And when spawning your creeps, say you want 20 max to spawn, you would put in your conditions that creepsSpawned !=(Not Equal To) 20, then in the actions, spawn 1 creep, order last spawned unit for player(creep owner) to move to Point A, set interger creepsSpawned to creepsSpawned + 1, repeat trigger.
This will spawn 1 creep at a time and onyl spawn a max of 20 creeps for this round and because we spawn 1 and then order it to move, the units will move in a line.
To make it so they go from point to point to point to point, you would put a region over each point and then set up triggers that do... When any unit enters Point A Triggering unit belongs to Player(Creep) Order Triggering unit move to Point B
Make 1 trigger like that for each point and it will work fine.
As for anti path, you can just make it so the players towers are not invulnerable and if the creeps cannot find a path they will auto destroy building(s) to get to the point they were ordered to get to.
Before any crit's my trigger, its been a year since I did a trigger so leave me alone lol.
@ZeroAme: Go
I am sorry but you will have to be more specific, regarding moving them in a straight line. I just cant figure out what u r talking about....
@BenSindle: Go
He meant you spawn a unit, order it to move, maybe wait aliitle and then spawn a new units and that way they will move in a straight line. Or do you want them to spawn in a line together?
@LaxSalmon: Go
I know exactly "what" he is saying, just not how to implement it.
@BenSindle: Go
Actions:
Pick each integer from 1 to "how many you want"
Actions
Create 1 "Unit" for player "player" at "Point A" using default facing
Order Last created unit to (Order Targeting point) move targeting "Point B"
Wait 0.5 seconds (or something)
@BenSindle: Go
Thats because I am not posting here to tell you exactly how to do this, I am just telling you the break down of it. If you want to learn how to do these things, then you need to goto tutorials and read some. And don't try telling me there are no tutorials on this as I am the former moderator of the tutorials section and I know there are tutorials on making a TD. We are not going to tell you how to make each and every trigger needed for your maps, learn how to do it yourself by tutorials and just messing around in the editor.
@ZeroAme: Go
Although you might have been a "FORMER" mod of that section you apperently aren't anymore, and apperently I might be the only one who noticed or the only one who has this problem, but about half the wiki links don't work, or the video has been deleted or the subscriber removed their account ect.
And i figured it out now anyways.
@BenSindle: Go
Not at the moment, no I am not the moderator of tutorials, I had to go on leave for millitary reasons and will soon be a moderator again. If the links in the wiki are broken then I suggest telling Sixen about this. Until they are fixed, you can browse and search for tutorials in the tutorial section => LINK