problem with my spawn...

Happy

Well-Known Member
Reaction score
71
hey guys...

ive got a problem with my spawn like the title already says...
if you ever played angel arena or hell vs heaven or any map with the same "spawn system" you know how it works for every other i try to explain it....
there are several doors...behind them creeps are created and ordered to move to a region...the door opens for the unit and closes some seconds after they are through...
my problem there is that no matter what i changed they walk back to the door (they cant move further because the doors is closed) or fly over it back to the point they are created...i managed avoiding it by replacing the unit with the same unit-type when it reached the region it was ordered to move to...but some of my spells create a unit in these regions too sometimes and they are replaced too (even if i triggered that they shouldnt be replaced -.-)....also the units are replaced all the time so its impossible to select them...

so my question....how is it possible to manage that the spawned units stay at the point they are ordered to and if they are pulled away they move back to this point??

thanks in advance

greetz happy
 

canons200

New Member
Reaction score
50
hmm, about the door closed, use replace unit to replace it with door open. Then use region or point on those location.

After it is done, run trigger create unit on the region or point, then trigger a unit enter region or order last created unit attack move to (your desired) point.
 

Pantat

New Member
Reaction score
0
Just use trigger to destroy the gate.. or maybe you can do this..

Trigger:
  • Open Gate Front
    • Events
      • Unit - A unit enters Region 073 <gen>
    • Conditions
      • ((Entering unit) belongs to an ally of Player 11 (Dark Green)) Equal to True
    • Actions
      • Destructible - Open Elven Gate (Vertical) 3109 <gen>


Trigger:
  • Close Gate Front
    • Events
      • Unit - A unit leaves Region 073 <gen>
    • Conditions
      • ((Leaving unit) belongs to an ally of Player 11 (Dark Green)) Equal to True
    • Actions
      • Wait 5.00 seconds
      • Destructible - Close Elven Gate (Vertical) 3109 <gen>



-----------------------------------------------------------------------

The region shoul be like this
|\\\\\\|__|\\\\\\| |\\\|
|\\\\\\|__|\\\\\\| |\\\| : Means the region
|\\\\\\|__|\\\\\\| |__|
|\\\\\\|__|\\\\\\| |__| : Means the gate
|\\\\\\|__|\\\\\\|

I hope this work.. Sry if i make false..
 

Happy

Well-Known Member
Reaction score
71
thanks for helping but i think you didnt really get it^^ my fault :rolleyes:

[] = door closed

() = door opened

X = unit spawned

I = wall

_ = wall , too

. =nothing (just to make spaces^^)

the problem is this :
_____
I........I
I....X..[]
I____I

the unit is spawned behind the door....

_____
I........I
I........().....X
I____I

then the door opens and the unit walks outside...

_____
I........I
I........[]X
I____I


and now the problem....the unit run back to the door (now closed again) instead of stay at the point they are ordered to move to. i managed avoiding this by replacing the unit when it entered a region in front of the door but this way round its replaced all the time (therefore unable to be selected) and every other non-hero unit is replaced too and this destroys some of my triggered spells....

so i ask for another technique to avoid this running back...
 

canons200

New Member
Reaction score
50
then the door opens and the unit walks outside...
the unit run back to the door (now closed again) instead of stay at the point they are ordered to move to.
how can they run back to the door if you order they to attack move to the point the minute they enter the map?
 

Happy

Well-Known Member
Reaction score
71
they appear....then they move to the point....they reach it....they move back to the door(if they can fly they fly over the door)...they stay there -.-
 

canons200

New Member
Reaction score
50
oh, so if they reach there, they return................what you have in their destination? building? if so, they should be attack the building and thus your hero should protect the building at all cost

but if they reach the point, nothing for they to do, they, of course, will return to the spawn point. That is bizzard default setting, so you must have alternative action to continue
 

canons200

New Member
Reaction score
50
it depend on your map style, if your map style is defend building, as they attack move to there, the minutes they reach there, since your building is there, they will attack building.

if you play like mafa hero defend, since no building in there. The map maker just order there to patrol at another place, keep patrolling between this 2 point and set higher acquisition range, which if the unit see any enemy in the range, they will attack. But of course, this is not a wise move.

if you play like enfo, which order enemy to attack move to the point, the minute they enter the point, it reduce team life. In the case either team life drop to 0, that team lose. That is also another style.

So in conclusion, it depend on your map style.
 

Happy

Well-Known Member
Reaction score
71
its like angel arena^^ so they spawn behind a door move outside and stay there...ready to be killed^^ so they just have to stay when they reached the point^^
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top