Hey, I just want to start off by saying I have never even looked at the trigger editor. My experience in the mapeditor is melee map-oriented only.
But now I find my self needing to use triggers for my melee map I think. I have made a map that is quite large, therefor I planned on putting destructible rocks on the natural-chokes of the mains that there are no players.
One way I can think of to do it would be to set up regions at the player spawns. Set up an event that works something like "if player spawns in X region, spawn destructible rocks at X Point"
Just put a region where they will spawn and link that region. Put a point where you would want the rocks to spawn and link that up. I've never tried to do that with doodads or anything but that should work as far as I know.
I guess he means he wants rocks where no players spawned. You can create a region that includes the main and the choke point. Place rocks for all choke points. At the beginning of a game make it so if a players spawns on a main, it kills the rocks within that region.
Set RocksGroup = Destructible Rocks in entire map ...
Pick every player in Active Players and do
- Unit - Remove (Closest unit to (Start location of (Picked player)) from RocksGroup)
Depends on "closest" though to be the rocks you're looking for to remove.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey, I just want to start off by saying I have never even looked at the trigger editor. My experience in the mapeditor is melee map-oriented only.
But now I find my self needing to use triggers for my melee map I think. I have made a map that is quite large, therefor I planned on putting destructible rocks on the natural-chokes of the mains that there are no players.
http://i.imgur.com/SglzG.jpg
The picture explains it pretty well, that would be a main where no player has spawned and then there would be rocks on the natural choke.
If someone could either guide me through it if there is a complicated solution or just tell me how it's done I would be very thankful.
One way I can think of to do it would be to set up regions at the player spawns. Set up an event that works something like "if player spawns in X region, spawn destructible rocks at X Point"
Just put a region where they will spawn and link that region. Put a point where you would want the rocks to spawn and link that up. I've never tried to do that with doodads or anything but that should work as far as I know.
Hope that helps
I guess he means he wants rocks where no players spawned. You can create a region that includes the main and the choke point. Place rocks for all choke points. At the beginning of a game make it so if a players spawns on a main, it kills the rocks within that region.
Should work without regions too.
Place rocks everywhere and try something like:
Set RocksGroup = Destructible Rocks in entire map ...
Pick every player in Active Players and do
- Unit - Remove (Closest unit to (Start location of (Picked player)) from RocksGroup)
Depends on "closest" though to be the rocks you're looking for to remove.