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

[Trigger] How to make this better or right xd

Status
Not open for further replies.
Level 4
Joined
May 22, 2011
Messages
68
  • Emergency Call Megaphone
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Emergency Call
    • Actions
      • Set EmergencyCall_Time = 5.00
      • Set EmergencyCall_Caster = (Casting unit)
      • Set EmergencyCall_Group = (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and (((Unit-type of (Matching unit)) Not equal to Choosen One!) and (((Matching unit) belongs to an ally of (Owner of EmergencyCall_Caster)) Equal to True))))
      • Game - Display to (All allies of (Owner of EmergencyCall_Caster)) for 5.00 seconds the text: |cFF00FFFFEmergency...
      • Unit Group - Pick every unit in EmergencyCall_Group and do (Actions)
        • Loop - Actions
          • Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Undead\DeathPact\DeathPactTarget.mdl
          • Special Effect - Destroy (Last created special effect)
      • Wait EmergencyCall_Time seconds
      • Unit Group - Pick every unit in EmergencyCall_Group and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Position of EmergencyCall_Caster)
          • Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
          • Special Effect - Destroy (Last created special effect)
      • Custom script: call DestroyGroup(udg_EmergencyCall_Group)
      • Custom script: call DestroyGroup(udg_EmergencyCall_Group)
:ogre_hurrhurr:
 
Big words man, they are telling that you should learn hash/indexing/MUI because you'll have to do it anyways. It's makes your life, our life, life of your dog and God know who else much easier, cleared and besides you learn something usefull.

Once again, post your pastebin link with this map. I don't want to look on trigers, because if you don't wish to learn, i will make it myself. You sit and watch and.. eat pop corn.
 
Status
Not open for further replies.
Top