spawning units and creeps plz help

B

blackmafia

Guest
I want to spawn units and make them go to a point like DOTA.

I also want to make it so if creeps die they respawn in like 20sec
 

TooSlowFcker

New Member
Reaction score
10
thats easy, i dont have WE opened right now so you need you wait
but ill make it if no one else responds
Code:
Untitled Trigger 001
    Events
        Time - Every 2.00 seconds of game time
    Conditions
    Actions
        Unit - Create 1 Footman for The computer at (Your Region)) facing Default building facing degrees
        Unit - Order (Last created unit) to Attack-Move To (Enemy base))
this trigger leaks probably

Code:
Untitled Trigger 002
    Events
        Unit - A unit Dies
    Conditions
        (Owner of (Triggering unit)) Equal to Neutral Hostile
    Actions
        Set unit[(Integer A)] = (Triggering unit)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                unit[(Integer A)] Not equal to No unit
            Then - Actions
                Set integer[(Integer A)] = 20
            Else - Actions
Code:
Untitled Trigger 003
    Events
        Time - Every 1.00 seconds of game time
    Conditions
    Actions
        Set integer[(Integer A)] = (integer[(Integer A)] - 1)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                integer[(Integer A)] Equal to 0
            Then - Actions
                Hero - Instantly revive unit[(Integer A)] at (Your REgion or place)), Show revival graphics
            Else - Actions
sorry i posted one trigger after another so you might not get this right away
 
B

blackmafia

Guest
the first one worked better for me but ty for other one
 

TooSlowFcker

New Member
Reaction score
10
no problem, its nice to help, but these faggots -rep me cause i didn't know the rules when i first joined, so my rep is -4 can you add some to me?
 

Cheesy

some fucker
Reaction score
95
no problem, its nice to help, but these faggots -rep me cause i didn't know the rules when i first joined, so my rep is -4 can you add some to me?

That is what learning the rules is for, and don't go conning 'newbies' into giving you rep that you don't deserve. And I don't think the rest of us are 'faggots' because you repeatedly disobeyed the rules and payed the consequences for it.

how u rep people

When you see the name of the person who is posting, look to the very right of the page. You will see a #(?) sign, then a picture of some scales. After clicking that, choose Positive or Negative Rep and add a comment! :thup:

Good luck, and make sure you get off to a good start by reading the rules.

PS: Don't double post. You can only bump your thread until after 24 hours has passed. If you want to post something else, just edit your most recent post.
 
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