Newbie Questions

Raveren

New Member
Reaction score
1
Newbie Questions *TD*

Hi I'm newb here and in World Editor.
I'm making a TD. I have now a lot of triggers and problems ;D I have a hope You can help me :)
1. I have a trigger which instantly move the creeps to next area (from Player 1 to Player 2, Pl2 to Pl3, Pl3 to Pl4 and Pl4 to Pl1) All mobs must done only one loop around a map. I have a 8 Regions (start*4 and end*4) and... in All players is noproblem but in Red... ugh... creeps dont wanna go to Red-End region. They wanna go to Purple-End Region T_T Yellow is OK but next creeps (orange green and pink) isn't. There are my triggers in red area.

"PickAllCreepsInGroups"
Events - Every 1second of the game
Condition - nothing
Actions:
UnitGroup - Pick every unit in(Units in RedAttack) Owned by Player 5 (Yellow) and do (UnitGroup - Add (PickedUnit) to AttackRed
UnitGroup - Pick every unit in(Units in RedAttack) Owned by Player 6 (Orange) and do (UnitGroup - Add (PickedUnit) to AttackRed
UnitGroup - Pick every unit in(Units in RedAttack) Owned by Player 7 (Green) and do (UnitGroup - Add (PickedUnit) to AttackRed
UnitGroup - Pick every unit in(Units in RedAttack) Owned by Player 8 (Pink) and do (UnitGroup - Add (PickedUnit) to AttackRed
etc for all areas.
---------
Trigger - Run Red(ignoring Conditions)


Yaa... units in groups. Now trigger Red

Events - Nothing
Conditions - Nothing
Actions:
UnitGroup - Pick every unit in (RedAttack) and do (Unit - Order(Picked Unit) to Move (Random point in RedEnd)

What isn't good in these triggers?

2: Spawning - I want to do a Spawn mobs when players kill every creep or when isn't anymore creep on the map.
How i Can do it?


I have a hope You can Help me and BIG sorry for my VERY BAD English:( (I have only 14 years lol and I'm from Poland)

Ohhh ya... i forgot - I USED A SEARCH!! :D Sorry but many forums dont like Non searching users ;d
 

Furberg

Ultra Cool Member
Reaction score
45
im too exhausted to answer some of your question, but all i can is. that the users of theese forums. HATE non searchers XD :thup:
 

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
Use code tags. Read the rules.
Code:
"PickAllCreepsInGroups"
Events - Every 1second of the game
Condition - nothing
Actions:
UnitGroup - Pick every unit in(Units in RedAttack) Owned by Player 5 (Yellow) and do (UnitGroup - Add (PickedUnit) to AttackRed
UnitGroup - Pick every unit in(Units in RedAttack) Owned by Player 6 (Orange) and do (UnitGroup - Add (PickedUnit) to AttackRed
UnitGroup - Pick every unit in(Units in RedAttack) Owned by Player 7 (Green) and do (UnitGroup - Add (PickedUnit) to AttackRed
UnitGroup - Pick every unit in(Units in RedAttack) Owned by Player 8 (Pink) and do (UnitGroup - Add (PickedUnit) to AttackRed
etc for all areas.
---------
Trigger - Run Red(ignoring Conditions)
Well, there doesn't seem to be anything wrong with that, except for its leakfull-ness and its non-efficiency.
Code:
Events - Nothing
Conditions - Nothing
Actions:
UnitGroup - Pick every unit in (RedAttack) and do (Unit - Order(Picked Unit) to Move (Random point in RedEnd)
That leaks. Also, don't use random point; use Center of Region.
Code:
What isn't good in these triggers?
  • They leak
  • They are inefficient
  • They could be combined into one trigger
  • They don't seem to make very much sense
 

Raveren

New Member
Reaction score
1
Hmmm ok i used one of tutorials on this site with this triggers. in second trigger i used a center of region and that istn help ;/
But thx for help.
Also map looks like that:
http://img374.imageshack.us/my.php?image=diablotdqy6.png

Knight7770 said my triggers is leakfull - i know that because I'm only a newbie in WE T_T but the Triggers in other Players areas works, why?
Yellow in Red,Blue,Cyan and Purple goes normally, Orange in Blue,Cyan and Purple too. Green in Cyan and purple too and Pink ONLY in Purple ;/

In Player 1 Area is a cyan elipse - This is the spawn for creeps.
 

cleeezzz

The Undead Ranger.
Reaction score
268
Code:
Add (PickedUnit) to AttackRed
what was the point of adding them to attackred? i dont see you using it, looks useless.
 

Raveren

New Member
Reaction score
1
OMG sorry i using a variables in polish name and this is a bug here on the forum :D AttackRed is a Variable, Group and #2 uses it :F
So its only a my mistake sorry.
RedAttack is a region.

-----Edit------

Hmmm ok I write a code of this 2 triggers.
Code:
Startup Movement
    Wydarzenia
        Czas - Every 0.50 seconds of game time
    Warunki
    Akcje
        -------- Put Units into Groups --------
        Grupa jednostek - Pick every unit in (Units in Region 000 <gen> owned by Gracz 5(Żółty)) and do (Grupa jednostek - Add (Picked unit) to AtakRed)
        Grupa jednostek - Pick every unit in (Units in Region 000 <gen> owned by Gracz 6 (Pomarańczowy)) and do (Grupa jednostek - Add (Picked unit) to AtakRed)
        Grupa jednostek - Pick every unit in (Units in Region 000 <gen> owned by Gracz 7 (Zielony)) and do (Grupa jednostek - Add (Picked unit) to AtakRed)
        Grupa jednostek - Pick every unit in (Units in Region 000 <gen> owned by Gracz 8 (Różowy)) and do (Grupa jednostek - Add (Picked unit) to AtakRed)
        Grupa jednostek - Pick every unit in (Units in Region 002 <gen> owned by Gracz 5 (Żółty)) and do (Grupa jednostek - Add (Picked unit) to AtakBlue)
        Grupa jednostek - Pick every unit in (Units in Region 002 <gen> owned by Gracz 6 (Pomarańczowy)) and do (Grupa jednostek - Add (Picked unit) to AtakBlue)
        Grupa jednostek - Pick every unit in (Units in Region 002 <gen> owned by Gracz 7 (Zielony)) and do (Grupa jednostek - Add (Picked unit) to AtakBlue)
        Grupa jednostek - Pick every unit in (Units in Region 002 <gen> owned by Gracz 8 (Różowy)) and do (Grupa jednostek - Add (Picked unit) to AtakBlue)
        Grupa jednostek - Pick every unit in (Units in Region 004 <gen> owned by Gracz 5 (Żółty)) and do (Grupa jednostek - Add (Picked unit) to AtakCyan)
        Grupa jednostek - Pick every unit in (Units in Region 004 <gen> owned by Gracz 6 (Pomarańczowy)) and do (Grupa jednostek - Add (Picked unit) to AtakCyan)
        Grupa jednostek - Pick every unit in (Units in Region 004 <gen> owned by Gracz 7 (Zielony)) and do (Grupa jednostek - Add (Picked unit) to AtakCyan)
        Grupa jednostek - Pick every unit in (Units in Region 004 <gen> owned by Gracz 8 (Różowy)) and do (Grupa jednostek - Add (Picked unit) to AtakCyan)
        Grupa jednostek - Pick every unit in (Units in Region 006 <gen> owned by Gracz 5 (Żółty)) and do (Grupa jednostek - Add (Picked unit) to AtakPurple)
        Grupa jednostek - Pick every unit in (Units in Region 006 <gen> owned by Gracz 6 (Pomarańczowy)) and do (Grupa jednostek - Add (Picked unit) to AtakPurple)
        Grupa jednostek - Pick every unit in (Units in Region 006 <gen> owned by Gracz 7 (Zielony)) and do (Grupa jednostek - Add (Picked unit) to AtakPurple)
        Grupa jednostek - Pick every unit in (Units in Region 006 <gen> owned by Gracz 8 (Różowy)) and do (Grupa jednostek - Add (Picked unit) to AtakPurple)
        -------- Order Move --------
        Wyzwalacz - Run Red <gen> (ignoring conditions)
        Wyzwalacz - Run Blue <gen> (ignoring conditions)
        Wyzwalacz - Run Cyan <gen> (ignoring conditions)
        Wyzwalacz - Run Purple <gen> (ignoring conditions)
It's a first trigger
Code:
Red
    Wydarzenia
    Warunki
    Akcje
        Grupa jednostek - Pick every unit in AtakRed and do (Jednostka - Order (Picked unit) to Ruch (Center of Region 001 <gen>))

And sorry for 1/4 polish language.
 

kaboo

New Member
Reaction score
45
this's the simpliest way i know
Code:
move
   move
    Events
        Unit - A unit enters create red units here <gen>
    Conditions
        (Owner of (Entering unit)) Equal to Player 1 (Red)
    Actions
        Unit - Order (Entering unit) to Attack-Move To (Center of red units end position <gen>)
 

Raveren

New Member
Reaction score
1
Hmmm I dont think it's good :D
It orders unit to attack-move so unit attacks all towers :F
Hmm I only have a trouble with spawn when 4 players havent food coz Units go normally now (I Removed unit from group when it's enters Ending regions)
 

muchalive

New Member
Reaction score
2
yeah do what that guy said. but make your towers involnerble. they dont need to be touched anyways. enless your trying to make a new revolution of TD :)
 

Raveren

New Member
Reaction score
1
OMG but this is a MAZING TD, so players blocks Creeps, so Attack-move and Immune for physic dmg towers dont be a good choice ;/ And I now only have trouble with spawn. All other is good now.
 

muchalive

New Member
Reaction score
2
2 ways to spawn

there are two ways for spawning creeps in a TD. 1# you can have all the creeps in one area and make a trigger that when a certain round comes on it will move certain creeps in the region instantly to a point. (EG) event: round 1
action: move units instantly from region whatever to region whatever. make sure that you put a trigger that when a unit enters the TD region that they are issued the order to move.

2# second way. the second way is to create your wanted units already inside the TD region were it will order the units to move (EG) event: elaps time ## action: create ## of units for player ( wich ever your creeps are on )
at region ( your spawning region ) .



if you want i can do the triggers for you and see what your TD needs.
 
M

My_God

Guest
welp

all i can say is that with a mazing td there was going to be bugs which is unavodiable if your noob at td. if you need any help im making a td myself and i set it so every 60 sec move unit in region to certain point then you could make it so when thoose units enter the area they are teleporeted to that they move to next point ect. this is what i did and lol i sorta read your forum fast so i might be blabering but if your really stuck do this and if it dosent work... well hope you somehow get it working. Best of luck:thup:
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • WildTurkey WildTurkey:
    is there a stephen green in the house?
    +1
  • The Helper The Helper:
    What is up WildTurkey?
  • The Helper The Helper:
    Looks like Google fixed whatever mistake that made the recipes on the site go crazy and we are no longer trending towards a recipe site lol - I don't care though because it motivated me to spend alot of time on the site improving it and at least now the content people are looking at is not stupid and embarrassing like it was when I first got back into this like 5 years ago.
  • The Helper The Helper:
    Plus - I have a pretty bad ass recipe collection now! That section of the site is 10 thousand times better than it was before
  • The Helper The Helper:
    We now have a web designer at my job. A legit talented professional! I am going to get him to redesign the site theme. It is time.
  • Varine Varine:
    I got one more day of community service and then I'm free from this nonsense! I polished a cop car today for a funeral or something I guess
  • Varine Varine:
    They also were digging threw old shit at the sheriff's office and I tried to get them to give me the old electronic stuff, but they said no. They can't give it to people because they might use it to impersonate a cop or break into their network or some shit? idk but it was a shame to see them take a whole bunch of radios and shit to get shredded and landfilled
  • The Helper The Helper:
    whatever at least you are free
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top