• 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.

About interaction

Status
Not open for further replies.
Level 4
Joined
Nov 5, 2011
Messages
63
Hi guyz i need yout help again please.
How can i make a system or spell idk..but if you use this on a gate example you click the interact and target in the gate and it open how can i do that?:vw_wtf:
 
  • Setup
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set u[1] = Make_this_unit_some_passive_mechanism_like_object_placed_near_gate1
      • Set d[1] = Gate1
      • Set u[2] = Make_this_unit_some_passive_mechanism_like_object_placed_near_gate3
      • Set d[2] = Gate2
      • Set u[3] = Make_this_unit_some_passive_mechanism_like_object_placed_near_gate3
      • Set d[3] = Gate3
      • Set x = 3
  • Trigger
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Ability being cast) Equal to Open Gate
          • (Ability being cast) Equal to Close Gate
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to Open Gate
        • Then - Actions
          • For each (Integer A) from 1 to x, do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Triggering unit) Equal to u[(Integer A)]
                • Then - Actions
                  • Destructible - Open d[(Integer A)]
                • Else - Actions
        • Else - Actions
          • For each (Integer A) from 1 to x, do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Triggering unit) Equal to u[(Integer A)]
                • Then - Actions
                  • Destructible - Close d[(Integer A)]
                • Else - Actions
Something like this?
 

Attachments

  • test map.w3x
    19.8 KB · Views: 52
Status
Not open for further replies.
Top