How it works:
Player moves chooser (unit) to a point / region(whatever works). The desired unit to spawn via what the chooser has chosen then spawn at the players base(region) in the amount of 5 every X amount of seconds(10) and repeats until chooser leaves the point.
Then when the chooser leaves the point or region, the spawn mode for that unit stops (boolean changes to false I guess), and that's it. It would be reactivated if the chooser were to go back(or to a different unit point if they wish to spawn a different unit, which is the same spawn trigger, etc, etc)
NOTE: The variable names do NOT need to be the same. They don't really matter as of right now. Just chooser and unit1 spawn, unit2 spawn, etc..
The spawn trigger looks like this and works perfect:
Problem:
I've spent hours trying to figure out which triggers to use for which parts. Could anyone please help me out? Maybe create the triggers themselves and send the map to me so I could copy & past them / learn how to make em.
Or, contact me on skype? canadian.piro
Thanks!
Despawn only has the one event? If so, I think the problem is you're trying to call a "triggering unit" however one doesn't exist because nothing was triggered by a unit.
Instead, since by the sounds of it only one spawner is allowed per player, just add the spawners to an array of 16 (for each player) and do
You could also use the data table although it's a bit more confusing so I suggest only using the data table for complex tracking/triggers.
Rollback Post to RevisionRollBack
I am largely inactive, but I am still around. Feel free to poke me if you need some help, just be warned that I only really come back if I need help and/or if I'm posting a new map/library.
I am largely inactive, but I am still around. Feel free to poke me if you need some help, just be warned that I only really come back if I need help and/or if I'm posting a new map/library.
In case you aren't watching the thread, I posted the map.
Rollback Post to RevisionRollBack
I am largely inactive, but I am still around. Feel free to poke me if you need some help, just be warned that I only really come back if I need help and/or if I'm posting a new map/library.
You can add a point instead of a start locations. If that doesn't work, creating them in the center of a region should.
Rollback Post to RevisionRollBack
I am largely inactive, but I am still around. Feel free to poke me if you need some help, just be warned that I only really come back if I need help and/or if I'm posting a new map/library.
You can add a point instead of a start locations. If that doesn't work, creating them in the center of a region should.
I used start locations so I can just use one of each spawn trigger (if statement) for all the players. I changed the spawn points to the player start location., which should work fine, but doesn't. Otherwise I don't know how to have the units automatically spawn at the desired players base without copying all the triggers and specifically stating which point for each player for each spawn trigger.
I assume you copy-pasted the code? If that's the case 2 is pretty much already done.
Otherwise I really don't know what to say. Like I said, manually setting a point (not a start point) should work, otherwise you can try making it the center of a region and set regions in each base.
I am largely inactive, but I am still around. Feel free to poke me if you need some help, just be warned that I only really come back if I need help and/or if I'm posting a new map/library.
I am largely inactive, but I am still around. Feel free to poke me if you need some help, just be warned that I only really come back if I need help and/or if I'm posting a new map/library.
I'm not sure what exactly is up to date since it looks like your trained maps, but based on the op the correct was to do with would be to have a single trigger with just the unit enters regions event, use the condition to check for the specific unit or unit type that activates it. Actions should then be a while loop that checks if the triggering unit is in the region. Then just spawn the unit at the points; there may be already be a specific action that lets you pick the point as the triggering players starting point but if not have the init trigger assign the points to an array based on the players integer and then just have this trigger spawn at the point corresponding to the array with the triggering player integer.
I was able to help him with an action definition that worked similarly. He just hasn't locked the thread.
Rollback Post to RevisionRollBack
I am largely inactive, but I am still around. Feel free to poke me if you need some help, just be warned that I only really come back if I need help and/or if I'm posting a new map/library.
To post a comment, please login or register a new account.
How it works: Player moves chooser (unit) to a point / region(whatever works). The desired unit to spawn via what the chooser has chosen then spawn at the players base(region) in the amount of 5 every X amount of seconds(10) and repeats until chooser leaves the point.
Then when the chooser leaves the point or region, the spawn mode for that unit stops (boolean changes to false I guess), and that's it. It would be reactivated if the chooser were to go back(or to a different unit point if they wish to spawn a different unit, which is the same spawn trigger, etc, etc)
NOTE: The variable names do NOT need to be the same. They don't really matter as of right now. Just chooser and unit1 spawn, unit2 spawn, etc..
The spawn trigger looks like this and works perfect:
Also; A condition(I think..) needs to be added so they will only spawn if the player supply used is less than 150.
The despawn trigger looks like this:
Problem: I've spent hours trying to figure out which triggers to use for which parts. Could anyone please help me out? Maybe create the triggers themselves and send the map to me so I could copy & past them / learn how to make em. Or, contact me on skype? canadian.piro Thanks!
@xXPwnerOfNoobsXx: Go
Despawn only has the one event? If so, I think the problem is you're trying to call a "triggering unit" however one doesn't exist because nothing was triggered by a unit.
Instead, since by the sounds of it only one spawner is allowed per player, just add the spawners to an array of 16 (for each player) and do
An example being
You could also use the data table although it's a bit more confusing so I suggest only using the data table for complex tracking/triggers.
I know what you're saying, and thanks, but that's not exactly what I'm asking for....
@xXPwnerOfNoobsXx: Go
Hang on, let me try to recreate it.
EDIT: Sorry about that, was a bit more complicated then I had expected, but here is a working trigger: (see attached).
Thank youu!!!!
@xXPwnerOfNoobsXx: Go
In case you aren't watching the thread, I posted the map.
Thanks, I'll check it out!
Perfect! Now I just need to implement it. I'll let you know how I do.
@Yaksmanofage: Go
What is the meaning of the apple and tree - haven under melee initialization? Also they're red.
@Yaksmanofage: Go
Small problem... When a player chooses a unit to spawn, it needs to spawn at that players base. How would I go about this?
EDIT: Making the spawn points the player start locations, and set to spawn at players start location for player does NOT work.
@xXPwnerOfNoobsXx: Go
This is a test map of mine, I just disabled those.
@xXPwnerOfNoobsXx: Go
You can add a point instead of a start locations. If that doesn't work, creating them in the center of a region should.
I used start locations so I can just use one of each spawn trigger (if statement) for all the players. I changed the spawn points to the player start location., which should work fine, but doesn't. Otherwise I don't know how to have the units automatically spawn at the desired players base without copying all the triggers and specifically stating which point for each player for each spawn trigger.
@xXPwnerOfNoobsXx: Go
Well, there are two things I could do:
1. look over it and do it myself
2. try and diagnose a problem via text
I assume you copy-pasted the code? If that's the case 2 is pretty much already done.
Otherwise I really don't know what to say. Like I said, manually setting a point (not a start point) should work, otherwise you can try making it the center of a region and set regions in each base.
@Yaksmanofage: Go
check your PM's
@xXPwnerOfNoobsXx: Go
back at-cha
I'm not sure what exactly is up to date since it looks like your trained maps, but based on the op the correct was to do with would be to have a single trigger with just the unit enters regions event, use the condition to check for the specific unit or unit type that activates it. Actions should then be a while loop that checks if the triggering unit is in the region. Then just spawn the unit at the points; there may be already be a specific action that lets you pick the point as the triggering players starting point but if not have the init trigger assign the points to an array based on the players integer and then just have this trigger spawn at the point corresponding to the array with the triggering player integer.
@hobbidude: Go
I was able to help him with an action definition that worked similarly. He just hasn't locked the thread.