• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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:
 

Bannar

Code Reviewer
Level 26
Joined
Mar 19, 2008
Messages
3,140
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