creeps spawn but not the right amount :S

mad_man1983

New Member
Reaction score
3
i have a big problem, and that is that it don't spawn the right amount of creeps on my TD map, it worked fine until i added a machine thingy at the end of my map, but i don't find the problem in my triggers, so if someone could take a look and help me it would be great, or if not i guess i must remove the machine thingy but i really don't want too do that

here's the map, too much triggers too post all i think
View attachment maDmAN's First Team TD v0.72.w3x

should spawn 20 creeps the first rounds, but it doesn't even spawn half that many
 

Anti-krazy

New Member
Reaction score
5
Your maps problem is that your regions are too small make them bigger

Good terraining thou
 

mad_man1983

New Member
Reaction score
3
hmmm, that doesn't make any sense since it worked before i added the machine thingy, so it must be something somewhere in the triggers that i don't find, so the regions are the same as they always was when it all worked :s i'm just confused at looking through all triggers many times now :p
 

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
Code:
For each (Integer A) from 1 to creepSpawnCount[levelCount], do (Actions)
    Loop - Actions
        Wait 1.50 seconds
        Player Group - Pick every player in inGamePlayers and do (Actions)
            Loop - Actions
                Set tmpPoint = ((Picked player) start location)
                Unit - Create 1 creepArray[levelCount] for hostileCreeps at tmpPoint facing 0.00 degrees
                Custom script:   call RemoveLocation ( udg_tmpPoint )

Do you use For each integer A, somewhere else in your map? Well, you shouldnt.
Or, if you do, just create a new Integer variable, and use the third option of "For each" loops, this one:
For each (IntegerVariable) from 1 to 10, do (Actions)
 

mad_man1983

New Member
Reaction score
3
hmmm, okay, i'll try too change all too integer b on the machine thingy and see if that works then, thanks for the help ^^,

tested it now, and it works as intended ^^, Thank you so much for the help ^^,

and btw if anyone want's too use my map for them self please credit me and you are free too use it all you want
 
W

weiss17

Guest
Help!! Please!!!

i am making a trigger about creeps spawns and attack Unit..
i don't know how to use variables all i do is...

Event
Time - Every 60.00 seconds of game time
Condition
Action
Unit - Creat 3 Treant for (Player red) at Center of (Creeps Region) facing Default angle degrees


and i made a second trigger named Creeps Attack Enemy and it goes like this

Event
Unit - Enters (Creeps Region)
Condition
(Owner of (Entering Unit)) Equal to Player Red And (Unit type of (Entering Unit)) Equal to Treant
Action
Unit Group - Pick Every Unit in Center of Creeps Region Then do Action
Loop - Action
Unit - Order Picked Unit to Attack World Tree

and when i test it creeps are bumping with each other and when it steps the Region I made for Enemy it goes back to my base and attacks my Base(World Tree) can you help me? do i have to change my trigger? do i have to use some Variables in this kind of trigger? How to use Variables???

Pls Reply:

From: |cffff0000RJ|r--|cffff0000Splinterxzx|r
 

mad_man1983

New Member
Reaction score
3
sorry

i'm sorry but i'm not any good at making triggers myself yet, i just learned from a tutorial i found on this site, but if you post your question as a new post someone probaly can help you faster, so not much help i can give you
 
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