• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

spawn (then) attack trigger like DotA/Age of Myths

Status
Not open for further replies.
Level 2
Joined
Jun 21, 2008
Messages
10
1 how do I make a spawn/attack move trigger like dota and age of myths? And 2 how come when I hit the test button it bring's up wc3 but doset load all it show's is a black screen
 
Level 17
Joined
Jan 21, 2007
Messages
2,013
#1

Create regions. This is where the units will spawn. name them spawnmid or something so you can tell them apart.
Create a periodic event. Set it to around every 20 seconds.
Events
every 20 seconds of game time.
Conditions
Actions
Create 5 (footman) at (center of (spawnmid))

Now create another trigger.
Events
A unit enters (spawnmid)
Conditions
owner of (triggering unit) is (owned by player one(red)) [This is if you have player 1 as bot team]
Actions
Order (triggering unit) to (attack-move) to (point where you want it to attack)

There! Simple as that! (for the second trigger you'll need to make a separate effect for each spawn region)

#2
No idea? using crack or any program that disturbs wc3? Do you have enough RAM? Do you have enough internal memory? Did you mess around as hell in your map?
 
Level 17
Joined
May 6, 2008
Messages
1,598
Leaks alot. Set those regions into a variable.

Then make an action like this:

  • Custom script Call RemoveLocation(udg_variable)
 
Status
Not open for further replies.
Top