I'm working on a map for a team game type and for it, I'd like SCVs to return their minerals to the nearest allied Town Hall, not the nearest Town Hall of the player.
I looked a bit a the Data of it, and it looks like the meat of the Harvest ability can't really be edited (at least in this regard), so I think I'll need to use a Triggered solution. I'm pretty inexperienced with Triggers, so I'm gonna start plugging away at it. Do you have any advice?
That sounds pretty useful. If I'm not mistaken, that's a data implementation? If I understand correctly, essentially every time a player creates a Town Hall, they also create a hidden unit with no actor under it which can serve as a drop off point for all that players' allies?
Though come to think of it, I'm not sure how I would use data to spawn a unit for other players, so I guess I would just use triggers to say that every time a player makes a town hall, the dummy unit (made in data) spawns where the Town Hall is made. Is this along the lines of what you were thinking?
Thanks!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey guys!
I'm working on a map for a team game type and for it, I'd like SCVs to return their minerals to the nearest allied Town Hall, not the nearest Town Hall of the player.
I looked a bit a the Data of it, and it looks like the meat of the Harvest ability can't really be edited (at least in this regard), so I think I'll need to use a Triggered solution. I'm pretty inexperienced with Triggers, so I'm gonna start plugging away at it. Do you have any advice?
Thanks!
You could try creating dummy drop-off units for all players on the team under all drop off points.
@ImperialGood: Go
That sounds pretty useful. If I'm not mistaken, that's a data implementation? If I understand correctly, essentially every time a player creates a Town Hall, they also create a hidden unit with no actor under it which can serve as a drop off point for all that players' allies?
Though come to think of it, I'm not sure how I would use data to spawn a unit for other players, so I guess I would just use triggers to say that every time a player makes a town hall, the dummy unit (made in data) spawns where the Town Hall is made. Is this along the lines of what you were thinking?
Thanks!