• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Simple Trigger Help = +rep

Status
Not open for further replies.
Level 3
Joined
Jan 23, 2010
Messages
53
How would i make this trigger:
Event - Unit enters 'enter'
Condition - Must be carrying item 'passport'
Action - Move Instantly to 'exit'

:S All i really need help with is the condition
 
I hope this one help!
  • Camera
    • Events
      • Unit - A unit enters enter <gen>
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) has an item of type passport) Equal to True
        • Then - Actions
          • Set TempPoint = (Center of exit <gen>)
          • Unit - Move (Triggering unit) instantly to TempPoint
          • Camera - Pan camera for Player 1 (Red) to TempPoint over 0.50 seconds
          • Custom script: call RemoveLocation (udg_TempPoint)
        • Else - Actions
 
I hope this one help!
  • Camera
    • Events
      • Unit - A unit enters enter <gen>
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) has an item of type passport) Equal to True
        • Then - Actions
          • Set TempPoint = (Center of exit <gen>)
          • Unit - Move (Triggering unit) instantly to TempPoint
          • Camera - Pan camera for Player 1 (Red) to TempPoint over 0.50 seconds
          • Custom script: call RemoveLocation (udg_TempPoint)
        • Else - Actions

Wheres the If all conditions are true thing? Im newbie with triggers
 
Status
Not open for further replies.
Back
Top