• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Help with a map

Status
Not open for further replies.
Level 2
Joined
Jun 19, 2004
Messages
11
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:
 
Level 3
Joined
May 7, 2004
Messages
70
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.
 
Level 3
Joined
May 7, 2004
Messages
70
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.
 
Level 4
Joined
May 9, 2004
Messages
90
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.
 
Level 7
Joined
Mar 26, 2004
Messages
350
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)
 
Status
Not open for further replies.
Top