i want a trigger

mohamad

New Member
Reaction score
0
i want a trigger for example after 30 sec all player unit transport to a region
but every time i try did not show the timer window and nothing
who can help ?
 

mohamad

New Member
Reaction score
0
cant upload it
i dont know but every time see error

my event is to a unit enter a region but when unit enter do nothing
help me how to upload trigger
 

-OverpoweR-

Member
Reaction score
13
Go at your Trigger Section, find your Trigger, now Right Click the Name of the Trigger ---> Copy As Text, than come here, write [1wc3]Post your code within the wc3 Wraps[/wc3] ,just remove the 1 from [1wc3] :)
 

mohamad

New Member
Reaction score
0
Trigger:
  • teleport
    • Events
    • Unit - A unit enters zone 1 <gen>
    • Conditions
    • Actions
    • Countdown Timer - Create a timer window for timer with title lock
    • Countdown Timer - Start timer as a One-shot timer that will expire in 30.00 seconds
    • Countdown Timer - Destroy (Last created timer window)
    • Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) is Summoned) Equal to True)) and do (Actions)
    • Loop - Actions
    • Unit - Move (Matching unit) instantly to (Center of aliance <gen>)
    • Wait 3.00 seconds
    • Unit - Create 1 Footman for Neutral Hostile at (Center of creep point 1 <gen>) facing Default building facing degrees
    • Wait 1.00 seconds
    • Unit - Create 1 Footman for Player 1 (Red) at (Center of creep point 2 <gen>) facing Default building facing degrees
    • Wait 1.00 seconds
    • Unit - Create 1 Footman for Player 1 (Red) at (Center of creep point 4 <gen>) facing Default building facing degrees
    • Wait 1.00 seconds
    • Unit - Create 1 Footman for Player 1 (Red) at (Center of creep point 3 <gen>) facing Default building facing degrees
 

dianamod27

Member
Reaction score
1
Timer windows only show if you use following action:
Trigger:
  • Countdown Timer - Show (Last created timer window)


So does the other stuff work or not?
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
Are the waits part of the Pick Every Unit loop? They won't work if they are.
 

nLike

Member
Reaction score
1
Ummm you are using timers in teh wrong way. You need to make 2 triggers. One trigger like that just without hte action of moving.

Other trigger will start with Event - > Timer expires. Once the timer expires it will move units. But to make it MUI it's not gonna be so simple.
 

mohamad

New Member
Reaction score
0
Trigger:
  • timer
    • Events
    • Unit - A unit enters zone 1 <gen>
    • Conditions
    • Actions
    • Countdown Timer - Start timer as a One-shot timer that will expire in 30.00 seconds
    • Countdown Timer - Create a timer window for (Last started timer) with title time
    • Countdown Timer - Show (Last created timer window)
 

mohamad

New Member
Reaction score
0
Trigger:
  • test
    • Events
      • Time - timer expires
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Entire map)) and do (Actions)
        • Loop - Actions
          • Unit - Move (Matching unit) instantly to (Center of aliance <gen>)
          • Wait 3.00 seconds
          • Unit - Create 1 Footman for Neutral Hostile at (Center of creep point 1 <gen>) facing Default building facing degrees
          • Wait 1.00 seconds
          • Unit - Create 1 Footman for Player 1 (Red) at (Center of creep point 2 <gen>) facing Default building facing degrees
          • Wait 1.00 seconds
          • Unit - Create 1 Footman for Player 1 (Red) at (Center of creep point 4 <gen>) facing Default building facing degrees
          • Wait 1.00 seconds
          • Unit - Create 1 Footman for Player 1 (Red) at (Center of creep point 3 <gen>) facing Default building facing degrees
      • Countdown Timer - Destroy (Last created timer window)
 

mohamad

New Member
Reaction score
0
when i enter the zone 1 timer work and after expire the timer window destroy but the moving trigger for players unit and creating trigger for footman didnt work
 

mohamad

New Member
Reaction score
0
thank you guys
i fix all this but i m still confuse
why create lots of footman when i use 1 footman in my trigger ?
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
Try this instead.
Trigger:
  • test
    • Events
      • Time - timer expires
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Entire map)) and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Center of aliance <gen>
      • Wait 3.00 seconds
      • Unit - Create 1 Footman for Neutral Hostile at (Center of creep point 1 <gen>) facing Default building facing degrees
      • Wait 1.00 seconds
      • Unit - Create 1 Footman for Player 1 (Red) at (Center of creep point 2 <gen>) facing Default building facing degrees
      • Wait 1.00 seconds
      • Unit - Create 1 Footman for Player 1 (Red) at (Center of creep point 4 <gen>) facing Default building facing degrees
      • Wait 1.00 seconds
      • Unit - Create 1 Footman for Player 1 (Red) at (Center of creep point 3 <gen>) facing Default building facing degrees
      • Countdown Timer - Destroy (Last created timer window)
 
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