hero line,creep shop help

HxCwizard

New Member
Reaction score
1
hey just thought Id make a hero line wars based off of line tower wars
like instead of 2 lanes, each player has thier own
but problem:
whats the trigger for buying a creep and have it spawn in say "spawn1" region
and walk in direction of "end" region
 
sry, i never play line tower before, base on your description. i will just tell you briedly.

for buying a castle unit, make event a unit is finish training,
condition unit type (your unit),
action, move trained unit to next player region (make a region / point for other player)
order trained unit to move to enemy place
 
Okay keep in mind Im making a creep shop
to buy creeps that will spawn and run down a lane to the other end
I dont want to have to make a trigger for 200 units.
 
then treat it as item, create item icon for the creep, once item is sold, create a unit at enemy region
 
Hmmm you can try this
Trigger:
  • Buying and Attacking
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • (Sold unit) Equal to XXX
    • Actions
      • Unit - Create 1 XXX for (Owner of (Buying unit)) at (Center of Spawn Region <gen>) facing Default building facing degrees
      • Unit - Order XXX to Attack-Move To (Center of Attack Region <gen>)

I dont know if it will work but thats basically what you need to do.
Change XXX to the sold units name
And the 2 regions to which ever you need them to move too.
 
Extract from MY TLTW

Its a 2v2v2v2v2

Trigger:
  • Tele
    • Events
      • Unit - A unit enters Units spawn <gen>
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Owner of (Triggering unit)) Equal to Player 1 (Red)
              • (Owner of (Triggering unit)) Equal to Player 2 (Blue)
        • Then - Actions
          • For each (Integer A) from 1 to 3, do (Actions)
            • Loop - Actions
              • Set Temp_Pointy = (Center of spawn 1 Copy <gen>)
              • Unit - Create 1 (Unit-type of (Triggering unit)) for (Owner of (Triggering unit)) at Temp_Pointy facing Default building facing degrees
              • Custom script: call RemoveLocation (udg_Temp_Pointy)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Owner of (Triggering unit)) Equal to Player 3 (Teal)
              • (Owner of (Triggering unit)) Equal to Player 4 (Purple)
        • Then - Actions
          • For each (Integer A) from 1 to 3, do (Actions)
            • Loop - Actions
              • Set Temp_Pointy = (Center of spawn 1 Copy 2 <gen>)
              • Unit - Create 1 (Unit-type of (Triggering unit)) for (Owner of (Triggering unit)) at Temp_Pointy facing Default building facing degrees
              • Custom script: call RemoveLocation (udg_Temp_Pointy)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Owner of (Triggering unit)) Equal to Player 5 (Yellow)
              • (Owner of (Triggering unit)) Equal to Player 6 (Orange)
        • Then - Actions
          • For each (Integer A) from 1 to 3, do (Actions)
            • Loop - Actions
              • Set Temp_Pointy = (Center of spawn 1 Copy 3 <gen>)
              • Unit - Create 1 (Unit-type of (Triggering unit)) for (Owner of (Triggering unit)) at Temp_Pointy facing Default building facing degrees
              • Custom script: call RemoveLocation (udg_Temp_Pointy)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Owner of (Triggering unit)) Equal to Player 7 (Green)
              • (Owner of (Triggering unit)) Equal to Player 8 (Pink)
        • Then - Actions
          • For each (Integer A) from 1 to 3, do (Actions)
            • Loop - Actions
              • Set Temp_Pointy = (Center of spawn 1 Copy 4 <gen>)
              • Unit - Create 1 (Unit-type of (Triggering unit)) for (Owner of (Triggering unit)) at Temp_Pointy facing Default building facing degrees
              • Custom script: call RemoveLocation (udg_Temp_Pointy)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Owner of (Triggering unit)) Equal to Player 9 (Gray)
              • (Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
        • Then - Actions
          • For each (Integer A) from 1 to 3, do (Actions)
            • Loop - Actions
              • Set Temp_Pointy = (Center of spawn 1 <gen>)
              • Unit - Create 1 (Unit-type of (Triggering unit)) for (Owner of (Triggering unit)) at Temp_Pointy facing Default building facing degrees
              • Custom script: call RemoveLocation (udg_Temp_Pointy)
        • Else - Actions
      • Unit - Remove (Triggering unit) from the game



Note: I made this couple of years ago (still making it! ;)) So the variable names may be abit...Wierd.








The Map Layout:
Code:
Spawn 1        Spawn 2           Spawn 3            Spawn 4          Spawn 5

Player 1         Player 3            Player 5             Player 7            Player 9
Player 2         Player 4            Player 6             Player 8            Player 10


End 1            End 2                  End 3               End 4              End 5
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    It is weird seeing a way more realistic users online number
  • The Helper The Helper:
    Happy Tuesday Night!
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:

      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