Something weird with my triggering...

C

Cornly

Guest
Alright, here's my problem.

U = Unit (1) = Beacon 1 (2) = Beacon 2 >,< = wall
(U2) = Unit on Beacon 2 (U1) = Unit on Beacon 1


WHAT I WANT TO HAPPEN:
--------------------------------------------------------------------

ONE - Unit sees Beacon 1
<
U (1) > (2)
<
TWO - Unit moves onto Beacon 1
<
(U1) > (2)
<
THREE - Unit is teleported from Beacon 1 to Beacon 2
<
(1) > (U2)
<
---------------------------------------------------------------------

I can't seem to get this to work, would someone reply with the trigger to this?
 
G

Guest

Guest
Have you tried using locations? Without them the triggers will not work properly. All you need to do is go to locations in the layer section and highlight locations then simply create locations for the beacons. To get the unit to move to the location you simply create a location at where the unit is and use this trigger:
Condition: Player brings atleast one any unit to location (X) Action:Issue order for all any unit at location x move to location y.

Once the unit arrives at the location marked by the beacon use this trigger.
Condition:player 1 brings atleast 1 any unit to location y
Action: Move all any unit for player 1 at location y to location z

This hopefully will help with the problem. If you want to run the same trigger repeatedly then just select preserve trigger and you're done.

Good Luck with your missions.
 
S

ShadowMage3571

Guest
Sorry my name is ShadowMage3571 not 3561. Typing error.
 
C

Cornly

Guest
Contrary to what some may say, i am not a COMPLETE idiot

Yes, i do know about locations and i'm pretty sure i know how they work.
 
C

Cornly

Guest
Wait..

ShadowMage3571 said:

"To get the unit to move to the location you simply create a location at where the unit is and use this trigger:

Condition: Player brings at least one any unit to location (X)

Action: Issue order for all any unit at location x move to location y.

Once the unit arrives at the location marked by the beacon use this trigger.

Condition: Player 1 brings at least 1 any unit to location y

Action: Move all any unit for player 1 at location y to location z"


___________________________________________________

So I have to have 2 triggers?

All I did before was:

Condition: Player 1 brings at least 1 any unit to location y

Action: Move all any unit for player 1 at location y to location z

--------------

Also i have another question about "issue an order"

How the hell do i do that?

Also, i want them to be 2 way teleports.

Why do i have to have a location where the unit is in the beginning when he just sees the beacon? Or do I?
 
G

Guest

Guest
Issue order is an action in which the unit will move attack or patrol depending on which of them you select.
An example using the action:eek:rder
Condition:Always
Action:Issue order to all any unit owned by player 1 at location x
order(move) to location y
I just suggested the location so you could have a trigger causing the unit at the start to automatically move to the beacon. That trigger is totally optional. Your trigger about the player 1 brings any unit to location y Move all any unit for player 1 at location y to location z should work just fine. For two way teleporters you only need the same trigger with just the locations changed. I suggest adding a wait trigger so when the unit teleports to the other beacon he is immedietly teleported back to the other beacon. Also add preserve trigger so that the triggers will work only once and then not work again.
 
C

Cornly

Guest
AHA!

It wasn't working before because i wasn't preserving the trigger :)
 
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