Timer Spawn Guys

Ghan

Administrator - Servers are fun
Staff member
Reaction score
891
Did you change the map since I gave it back to you? If so, upload the newest version. If not, then I'll just make some changes and upload it again.
 
R

r2yneth

Guest
nope, I just keep looking at the triggers you did! amazing :)
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
891
Ok, try it now. You should be able to just plug in the units you want and go. I added a couple of comments. Make sure you check them out.
 
R

r2yneth

Guest
yay! thank you so much! :)

Btw - what is your WC3 name or would you rather have your name here credited?
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
891
> Btw - what is your WC3 name or would you rather have your name here credited?

They're the same. :p
 
R

r2yneth

Guest
woo! can't thank you enough :)

all I have to do is just make a level and it will auto do it correct?
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
891
> all I have to do is just make a level and it will auto do it correct?

Make a level? What do you mean? All you have to do is store a unit-type into that variable and it will automatically spawn it at the correct level. Make sure you have the right index number, though.
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
891
> Whats index? This?

Yes. That. The index is the number in brackets. Make sure that you don't use one over or skip one.
 
R

r2yneth

Guest
alright! thank you a lot! :)

I'll get back to map making now

Everything is working nicely but only one thing :(

The monsters attack the player but if the player moves into another room, the creatures will return to where they spawn from - How do I make them follow the player?
My trigger right now is

Code:
Spawn F
    Events
        Time - TimerVariable expires
    Conditions
    Actions
        Set CurrentLevel = (CurrentLevel + 1)
        Countdown Timer - Hide TimerWindowVariable
        For each (Integer A) from 1 to 7, do (Actions)
            Loop - Actions
                For each (Integer B) from 1 to 5, do (Actions)
                    Loop - Actions
                        Set TempPoint = (Center of Spawn_Regions[(Integer A)])
                        Unit - Create 1 Creeps[CurrentLevel] for Player 12 (Brown) at TempPoint facing Default building facing degrees
                        Custom script:   call RemoveLocation(udg_TempPoint)
                        Set TempGroup = (Units in Attack place <gen> matching (((Owner of (Matching unit)) is an enemy of (Owner of (Last created unit))) Equal to True))
                        Unit - Order (Last created unit) to Attack (Random unit from TempGroup)
                        Custom script:   call DestroyGroup(udg_TempGroup)
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
891
The easiest thing to do here would probably be to change the trigger to order the creeps to attack-move to the position of the hero instead of a straight attack. Or perhaps right-clicking might work....
 
R

r2yneth

Guest
It still doesn't work :(

Is there a way to make it so that the computer can see the entire map and will then follow because due to fog the computer stops chasing and returns to spawn points
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
891
> It still doesn't work

What doesn't work? Did you change anything?

> Is there a way to make it so that the computer can see the entire map and will then follow because due to fog the computer stops chasing and returns to spawn points

I'm 99% sure it's not the fog.

If you want, upload the map again and I'll take a look. :p
 
R

r2yneth

Guest
Alright i'll upload again =P
- It doesn't work: the creeps will return to their spawn points when u run too far and into a room

here it is
 

Attachments

  • OwnMap3.w3x
    214.4 KB · Views: 104
R

r2yneth

Guest
thanks man! :)

:( its not working

- the monsters now attack the shops lol

- also, how can I make it so that once the monsters kill one player, they will go for another player after
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
891
Here, I added a trigger that will order the units to attack a new player if they're not doing anything. As for the shops, make them owned by Neutral Passive.
 
R

r2yneth

Guest
:( Lots of problems are occuring still

#1 - The creeps are still returning to spawn (no idea why)
> I'll give you an example of what I mean - There is a player in the courtyard (middle) and then when the creeps spawn they will decide to attack the player. When they see the player - they will slow down and then if the player, for example, runs into one of the small rooms in the office, the creeps will stand outside the office and then return to spawn

#2 - I set the stores to neutral passive but then when I go near them, they won't let me buy anything :banghead:
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
891
> The creeps are still returning to spawn

Ok, I see what you mean. I don't think there's a way to stop it. It seems very minor, though. From what I saw, only a few do it, and then as soon as they get to the spawn, my new trigger fires and sends them back out.

> I set the stores to neutral passive but then when I go near them, they won't let me buy anything

Here's the newest version. That should be fixed.
 
R

r2yneth

Guest
cool! thanks! I can't tell what you did :(

What'd you do? lol
 
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