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.
 

Romek

Super Moderator
Reaction score
964
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
 

Insane!

Shh I didn't edit this, go away.
Reaction score
122
right click on trigger and goto copy as text
then goto the helper
press reply
paste the trigger and wrap w/ code tags
 

pkraktis

New Member
Reaction score
4
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>)
 

Psiblade94122

In need of sleep
Reaction score
138
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
 

Insane!

Shh I didn't edit this, go away.
Reaction score
122
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
 

hell_knight

Playing WoW
Reaction score
126
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.
 

Daskunk

SC2 Forum MVP - TheSkunk #386
Reaction score
186
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.
 

pkraktis

New Member
Reaction score
4
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.
 

pkraktis

New Member
Reaction score
4
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?
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
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. ;)
 

pkraktis

New Member
Reaction score
4
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?
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
> 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.
 

pkraktis

New Member
Reaction score
4
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.

      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