• 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.

Spawned Units in Region Problem

Status
Not open for further replies.
Level 3
Joined
Feb 9, 2014
Messages
39
So, for the first time in a long time of having Warcraft 3, I finally tried the World Editor. I started 4 days ago. Now, I have A problem.

Untitled Trigger 001
Events
Time - Elapsed game time is 10.00 seconds
Conditions
Actions
Unit - Create 5 Zombie for Neutral Hostile at (Center of Zombie Spawn 1 <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units in Zombie Spawn 1 <gen>) and do (Unit Group - Order (Units in Zombie Spawn 1 <gen>) to Attack (Random unit from (Units owned by (Random player from (All allies of Player 1 (Red))))))


The game starts normally and they spawn after 10 seconds. My problem is that they only walk for 5 seconds towards the players but then go back to the starting region and just stay there without doing anything. I have to go near them so that they'll finally attack.

Help?
 
Level 5
Joined
Jan 27, 2014
Messages
164
Go to your Terrain Editor. Then locate the Advanced tab > Gameplay Constants.
Then search for:
Creep - Guard distance
Creep - Guard return distance
Creep - Guard return time

The names are quite explanatory so I guess you know what they mean.
Set those values to maximum (or any value that suit your map).

Also, for your trigger...

Events
- Time - Elapsed game time is 10.00 seconds
Conditions
Actions
- Unit - Create 5 Zombie for Neutral Hostile at (Center of Zombie Spawn 1 <gen>) facing Default building facing degrees
- Unit - Order (Last created unit group) to Attack (Random unit from (Units owned by (Random player from (All allies of Player 1 (Red))

You can just use 'Last created unit group' and it will work the same way.
 
Level 3
Joined
Feb 9, 2014
Messages
39
Go to your Terrain Editor. Then locate the Advanced tab > Gameplay Constants.
Then search for:
Creep - Guard distance
Creep - Guard return distance
Creep - Guard return time

The names are quite explanatory so I guess you know what they mean.
Set those values to maximum (or any value that suit your map).

Also, for your trigger...

Events
- Time - Elapsed game time is 10.00 seconds
Conditions
Actions
- Unit - Create 5 Zombie for Neutral Hostile at (Center of Zombie Spawn 1 <gen>) facing Default building facing degrees
- Unit - Order (Last created unit group) to Attack (Random unit from (Units owned by (Random player from (All allies of Player 1 (Red))

You can just use 'Last created unit group' and it will work the same way.

Thank You! I'm such a noob XD
 
Status
Not open for further replies.
Top