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

Spawning waves goes back to spawn and green icons

Status
Not open for further replies.
Level 4
Joined
May 31, 2011
Messages
86
Hi i have a problem whit my map (the map is like hero sige/enfo)

1 first problem is when units attacks heroes and the hero dies they turn back and walk to spawn, then they start the same path again.

My question is how do u make them stop ignoring command and keep moving after the hero dies.

2 and the second is my heroes custom portrait is working but when they die it becomes green then when they re-spawn it works again. (i know im missing or doing something wrong but cant find the solution )
 

Attachments

  • GIOD.png
    GIOD.png
    10 KB · Views: 60
Level 28
Joined
Jan 26, 2007
Messages
4,789
The second question has been answered a lot.
(I hope those are enough threads to solve your problem).


For the first question, you could try
  • AI - Ignore last created unit guard position
And set one of their stats to "Can flee - false" (in the object editor), though this value basically means that the units will flee if either their HP is very low, or they cannot attack their target (it can make the movement more fluid though).
Also, go to Advanced -> Gameplay Constants and set "Creep - Guard Return Distance" and "Creeps - Guard Return Time" to something very high.
 
Level 4
Joined
May 31, 2011
Messages
86
The second question has been answered a lot.
(I hope those are enough threads to solve your problem).


For the first question, you could try
  • AI - Ignore last created unit guard position
And set one of their stats to "Can flee - false" (in the object editor), though this value basically means that the units will flee if either their HP is very low, or they cannot attack their target (it can make the movement more fluid though).
Also, go to Advanced -> Gameplay Constants and set "Creep - Guard Return Distance" and "Creeps - Guard Return Time" to something very high.

ok ty but were should i put the trigger does it matter ?
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Removing guard position disables the "Creep - Guard Return Distance" and "Creeps - Guard Return Time".

If they are set to high, it might affect other creeps which shouldn't be touched, for example, neutral hostile (I think).
I was actually trying to give several options, but after re-reading my post, I notice that I worded my sentence very badly.

ok ty but were should i put the trigger does it matter ?
It matters a lot.
As you can see, there's a "(last created unit)" in that action, which means it only affects 1 unit.
You have to put it right behind where you create your creep.
(After "Unit - create [creep]").
 
Level 4
Joined
May 31, 2011
Messages
86
I was actually trying to give several options, but after re-reading my post, I notice that I worded my sentence very badly.


It matters a lot.
As you can see, there's a "(last created unit)" in that action, which means it only affects 1 unit.
You have to put it right behind where you create your creep.
(After "Unit - create [creep]").

u mean like this
 

Attachments

  • Untitled.png
    Untitled.png
    11.3 KB · Views: 62
Level 28
Joined
Jan 26, 2007
Messages
4,789
hm i chosen the disable icon but still green file is called like this and im sure its the disable icon.

""edit"" im sure were to put active, but not sure were to put disabled icon
Did you even check the threads I have linked? There are about 6 of them, which all contain the answer. And a seventh search-link, which would've guided you to many more of those threads.

You need to rename the disabled icon to "ReplaceableTextures\CommandButtonsDisabled\DISBTN{ICON NAME}.blp"
Where {ICON NAME} needs to be changed to the name of your icon.
You shouldn't put the disabled icon anywhere, it automatically changes if you have the correct path name.
 
Level 4
Joined
May 31, 2011
Messages
86
But i still didn't get any answer about the trigger if i made it right

like the first on every wave or like the second on every wave ?



Edit : i mean the pictures on the first question i posted 2 dont know wich one is the right?
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Erm, forget about the trigger then.
Just go to Advanced -> Gameplay Constants and set "Creep - Guard Return Distance" and "Creeps - Guard Return Time" to something very high.
That should have the same effect as triggering it.

I just noticed though... are you ordering your units to attack-move a location, or attack a specific unit?
 
Status
Not open for further replies.
Top