Noob help

Draceus

New Member
Reaction score
1
Hey i need help adding the trigger bellow.

Im very new with WC3 editor and would like some help.

I am able to add the event and the action pick every player .......
But then i am not able to click okay.

Hard to explain but maybe someone can help :)

Code:
 Create Wisp
    Events
        Map initialization
    Conditions
    Actions
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Picked player) controller) Equal to User
                        ((Picked player) slot status) Equal to Is playing
                    Then - Actions
                        Unit - Create 1 Wisp for (Picked player) at ((Picked player) start location) facing Default building facing degrees
                    Else - Actions
                        Do nothing
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
Click what? Maybe make it at 0.01 secs rather than map init.
That was free hand
Trigger:
  • Create Wisp
    • Events
      • Time Elapsed Equal to 0.01 seconds
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked player) controller) Equal to User
              • ((Picked player) slot status) Equal to Is playing
            • Then - Actions
              • Unit - Create 1 Wisp for (Picked player) at ((Picked player) start location) facing Default building facing degrees
            • Else - Actions
              • Do nothing
 

Draceus

New Member
Reaction score
1
hmm okay, i was able to get it working so it spawned a wisp, but im not sure how to add a loop...

and yes as i said im a total newb @ this :D
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
I dont see how that problem needs a loop? you want more than 1 wisp for each player?


Trigger:
  • For Each Integer A - Do actions

Is a loop
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
That should make one for each player. It wont make in for AI so you know.
 

Draceus

New Member
Reaction score
1
i think i figured out how to do :p

Made one trigger for each diff player.... Maybe thats a hard way to do it but it was only 4 players so i guess its fine :)

Ty for help tho
 
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