Warcraft III resources & community, 2003–2006 · archived

Help with a map

11 posts
#1

Help with a map

Im making a Dota style map whereim thinking aboutmaking a different type of goal. The first is in order to stop spawns and/or win the game you willhave to controll a point in 70 seconds. By controlling it that means that your hero or unit that you places on have to survive standing on for 70 seconds without dying. The only proplem is that the controller point is right in the middle of the enemy spawning. I made a trigger that checks if it is any units on the region when the timer expires but if any enemy units are on the point when the timer expires it vill count as the hero is still there. Can anyone give me the complete trigger to fix that plz? And all the varibels. And also how to make it that you will have to controll all the points at one time to win. Like in the last map in the tft campain. Just one last qestion. i dl a couple of spells on this site but they dont use the normaltriggers. I only use the world editor. It says that i must change some codes. Where are these codes. Help plz :roll:
#2
Ok, I can help you with the first question.

During the trigger where it checks if a unit is in the region when the timer expires, add a condition like this.

Unit in Unit Group - Units in (Units owned by (Player 1(red)) (or whatever player)
and
(Triggering Unit) is a Hero Equal To True

This will check to make sure the unit is a hero and belongs to the player that is in the circle.
#3
Hello can someone reply plz? Thx for your help jarin :D
#4
I made a mistake. The first condition I listed above is wrong. It should look like this.

Unit in Unit Group - Units in (Units owned by player (Owner of (Triggering Unit))) (Something very close to this)

The answer to the 1.5th part of your question:

To make it so they must control all the points:

When a player enters the point, it should set a Boolean variable such as PointControlled = True

When the player leaves the point, it should unset that variable, such as PointControlled = False

But in the case of multiple points, you will need to set several variables, like Point1Controlled, Point2Controlled, Point3Controlled, etc.

When the timer expires, it should check, in an action (if, then, else) that, if PointXControlled (x4) = True, then they win. If all 4 points aren't controlled, then they lose.
Should be easy to figure out if you know a bit about variables already.
#5
thx again :D
#6

I don't know about variables...

Up to now I still don't know about variables. I created a campaign without varaiables. Some said that it will be easier to create a map with varaiables.
#7
You created a campaign without variables?
Wonder how you transported the heros from map to map.
#8
variables are quite useful. in a map, i use at least 4-10 of them (depending on the map, of course :wink: )
variables make making maps easier (strange sentence, i know)
#9
Every professional map needs variables. For example, my testmap for my Save/Load Script has 72 variables and 39 triggers.
#10
Nearly every map needs variables, even my map has some. They make map making so much easier :)
But can be " confusing " for newbs.
#11
Actually, I found variables easy to understand. And without variables, you can't do a lot of the functions in the World Editor. For example, without variables it is impossible to make a dialog box.