Wow Retarded Trigger

pkraktis

New Member
Reaction score
4
I have a trigger where units spawn every 20 seconds in a region and then move to another region instantly. Whenever this trigger is about to happen my WC3 has a serious crash.
 
Post triggers.
Maybe you have another trigger which the event is a unit enters second region.
And its actions are to move back to the first.
So an infinite loop (this happened to me once :p)
But... Post triggers. so we can make sure
 
right click on trigger and goto copy as text
then goto the helper
press reply
paste the trigger and wrap w/ code tags
 
Code:
Attack
    Events
        Time - Every 20.00 seconds of game time
    Conditions
    Actions
        Unit - Create 8 Footman for Player 9 (Gray) at (Center of Region 000 <gen>) facing Default building facing degrees
        Unit - Create 8 Footman for Player 10 (Light Blue) at (Center of Region 001 <gen>) facing Default building facing degrees

Code:
Attacking1
    Events
        Unit - A unit enters Region 000 <gen>
    Conditions
    Actions
        Unit - Move (Triggering unit) instantly to (Center of Region 001 <gen>)

Code:
Attacking2
    Events
        Unit - A unit enters Region 001 <gen>
    Conditions
    Actions
        Unit - Move (Triggering unit) instantly to (Center of Region 000 <gen>)
 
you have a inf loop going for atk1 and atk2

have the fuctions to disable the other trigger before moveing it, then reenable them after
 
they are infinitly moving to the same place thuse warcraft cant handle it and crashes

move them some were else
like region 002

EDIT:
psi blades works too
 
I use polar projections in my maps works well. Move to tempoint ( Center of region offset by blah blah )

Don't forget to remove leaks.
 
Code:
Attack
    Events
        Time - Every 20.00 seconds of game time
    Conditions
    Actions
        Unit - Create 8 Footman for Player 9 (Gray) at (Center of Region 000 <gen>) facing Default building facing degrees
        Unit - Create 8 Footman for Player 10 (Light Blue) at (Center of Region 001 <gen>) facing Default building facing degrees

Code:
Attacking1
    Events
        Unit - A unit enters Region 000 <gen>
    Conditions
    Actions
        Unit - Move (Triggering unit) instantly to (Center of Region 001 <gen>)

Code:
Attacking2
    Events
        Unit - A unit enters Region 001 <gen>
    Conditions
    Actions
        Unit - Move (Triggering unit) instantly to (Center of Region 000 <gen>)

If unit enters 000 it goes too 001, and if it goes too 001 it goes to 000 forever. Make it so when it goes to 000 it goes too a differnt place, and when it goes to 001, it goes to a differnt place.
 
Code:
Attack
    Events
        Time - Every 20.00 seconds of game time
    Conditions
    Actions
        Unit - Create 8 Footman for Player 9 (Gray) at (Center of Region 000 <gen>) facing Default building facing degrees
        Unit - Create 8 Footman for Player 10 (Light Blue) at (Center of Region 001 <gen>) facing Default building facing degrees

Code:
Attacking1
    Events
        Unit - A unit enters Region 000 <gen>
    Conditions
        (Owner of (Triggering unit)) Equal to Player 9 (Gray)
    Actions
        Unit - Move (Triggering unit) instantly to ((Center of (Playable map area)) offset by 256.00 towards 54.00 degrees)

Code:
Attacking2
    Events
        Unit - A unit enters Region 001 <gen>
    Conditions
        (Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
    Actions
        Unit - Move (Triggering unit) instantly to ((Center of (Playable map area)) offset by 256.00 towards 69.00 degrees)

Will this bug up? I put random things for the degrees.
 
Uh I tried that trigger and both forces spawn in the center and then go in opposite directions and then get teleported back... Lol.

Crap I'm dumb. I thought move instaly meant it would walk there.. Not teleport. How do I make units spawn in a region and then attack move to another region?
 
Unit - Issue Order Targeting A Point

Order Triggering Unit to Attack-Move to Center of <Some Region>

You should read some leak tutorials to eliminate that point leak. ;)
 
Thanks.. so I don't have to make more threads can you just change the title of this one and I'll update it with questions? Or would you rather have me make new threads?
 
> so I don't have to make more threads can you just change the title of this one and I'll update it with questions? Or would you rather have me make new threads?

New question, new thread.
That's our motto. :p

If you have a completely new question, just make a new thread.
It's ok.
If you have an extension of your current question, you can keep it here.

We're not afraid of new threads.

By the way, you may want to check out the rules thread at the top. It's full of all the, well, rules. :p
Including the policy on creating new threads.
 
The targeting a point doesn't attack move. It just moves. The units totally ignore each other when moving =O.

Sorry turkey has nullified my brain. Disregard this question.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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 The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top