• 🏆 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!

Multicast System

  • Like
Reactions: supertoinkz

Multicast System

Created by x-omg-x




HOW TO IMPORT

Go to File -> Preferences, and turn on the "Automatically create unknown variables when pasting trigger data".
Go to the trigger editor and copy the "Multicast" folder.
Open your own map and paste the copied folder into the trigger editor.
You are done!

ABOUT

This system is made as a request.
It contains 3 triggers, all of them important for the system.
The system should be easy to edit and understand, if you just have a small knowledge about triggers.
Its fully GUI and no special tools is needed for using it.
The system should be fully MUI and doesnt contain any leaks.

WHY THIS SYSTEM

The system is easily configureable and very newbie-friendly.
This system has never been done before, so its the only version.
Contains a testmap that makes you able to test it with high performance.
Good coding and all lines' effect is well descriped in the triggers.

COPYRIGHT

This system is fully made by me and all credits goes to X-OMG-X.
You are not allowed to upload this system to any sites, without my permission.
Respect me and my time spent on this system. Do not steal my work.

  • MulticastInit
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to War Stomp ^-^
    • Actions
      • -------- --------
      • -------- Multicast --------
      • -------- Created by X-OMG-X --------
      • -------- --------
      • -------- --------
      • -------- The following lines may be changed --------
      • Set MC_ManaCost = 30.00
      • Set MC_AmountOfTargets = 2
      • Set MC_SpecficUnitType = True
      • -------- The lines above may be changed --------
      • -------- --------
      • -------- Setting the last variables --------
      • Set MC_Caster = (Triggering unit)
      • Set MC_Pos = (Position of MC_Caster)
      • Set MC_Level = (Level of (Ability being cast) for MC_Caster)
      • -------- Checking if (MC_SpecificUnitType) is true --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • MC_SpecficUnitType Equal to True
        • Then - Actions
          • Set MC_Group = (Units within (400.00 + ((Real(MC_Level)) x 100.00)) of MC_Pos matching (((((Matching unit) is alive) Equal to True) and ((Matching unit) Not equal to MC_Caster)) and (((Unit-type of (Matching unit)) Equal to (Unit-type of MC_Caster)) and (((Matching unit) be
        • Else - Actions
          • Set MC_Group = (Units within (400.00 + ((Real(MC_Level)) x 100.00)) of MC_Pos matching (((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of MC_Caster)) Equal to False)) and ((Matching unit) Not equal to MC_Caster)))
      • -------- Checking the number of units in the group --------
      • Set MC_PickedAmount = (Number of units in MC_Group)
      • -------- Checking if (MC_PickedAmount) is less than (MC_AmountOfTargets) --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • MC_PickedAmount Less than or equal to MC_AmountOfTargets
        • Then - Actions
          • -------- Running the next trigger --------
          • Trigger - Run MulticastRun <gen> (checking conditions)
        • Else - Actions
          • -------- Reducing the number of units and running the trigger --------
          • For each (Integer MC_Integer) from 1 to (MC_PickedAmount - MC_AmountOfTargets), do (Actions)
            • Loop - Actions
              • Unit Group - Remove (Random unit from MC_Group) from MC_Group
          • Trigger - Run MulticastRun <gen> (checking conditions)
  • MulticastRun
    • Events
    • Conditions
    • Actions
      • -------- Picking all the units in the group --------
      • Unit Group - Pick every unit in MC_Group and do (Actions)
        • Loop - Actions
          • -------- Checking if they have enought mana --------
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Mana of (Picked unit)) Greater than or equal to MC_ManaCost
            • Then - Actions
              • -------- Ordering the units to cast the abillity --------
              • Unit - Add War Stomp to (Picked unit)
              • Unit - Order (Picked unit) to Orc Tauren Chieftain - War Stomp
            • Else - Actions
              • -------- Giving the caster his spent mana back again and giving him a message --------
              • Unit - Set mana of MC_Caster to ((Mana of MC_Caster) + MC_ManaCost)
              • Game - Display to (All players matching ((Owner of MC_Caster) Equal to (Matching player))) for 5.00 seconds the text: Not enought mana!
      • Custom script: call RemoveLocation(udg_MC_Pos)
      • Custom script: call DestroyGroup(udg_MC_Group)
  • MulticastRemove
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to War Stomp
    • Actions
      • Unit - Set mana of (Triggering unit) to ((Mana of (Triggering unit)) - MC_ManaCost)
      • Unit - Remove (Ability being cast) from (Triggering unit)



Enjoy!

Keywords:
multi, cast, multicast, system, spell, x-omg-x
Contents

Multicast System (Map)

Reviews
19:55, 17th Jun 2010 Hanky: In my opinion the system is kinda too simple. But well maybe it's useful enough for some newbies. So I'll approve it.

Moderator

M

Moderator

19:55, 17th Jun 2010
Hanky:
In my opinion the system is kinda too simple. But well maybe it's useful enough for some newbies. So I'll approve it.
 
Level 12
Joined
May 21, 2009
Messages
994
I quite dont get it what does this system do ?? you might wanna add that to description so people dont have to understand & read all the triggers to get it.. But i am abit confused if it is a system or a spell. In the table you write WHY THIS SYSTEM, is it like in dota were the blue ogre have a chance on multicast
 
Level 6
Joined
Sep 9, 2006
Messages
92
I quite dont get it what does this system do ?? you might wanna add that to description so people dont have to understand & read all the triggers to get it.. But i am abit confused if it is a system or a spell. In the table you write WHY THIS SYSTEM, is it like in dota were the blue ogre have a chance on multicast

I understand it to be warstomp, but when around ally units whenever you cast warstomp they also will cast warstomp (if they have mana).
 
I understand what you guys mean. I didnt really know if this was a system or a spell, so i chose the category 'System' and then also the 'No Target'. If you dont know what it does, take a look at the screenshot. In the tooltip it says that the caster casts a spell and then two nearby allies (or less if there isnt enought units) with the same unit-type (if you set the variable to true) will cast the same abillity (or a spell that looks like it, depends on your needs). If there mana is too low to cast the spell, their simply just dont cast it. The manacost can be set in the triggers, to make it easily configureable. I made the system very configureable and easy to understand, so you can change the warstomp to a random spell, depending on your needs. Now i dont think it is causing any confusion ;)
 
Level 12
Joined
May 21, 2009
Messages
994
I understand what you guys mean. I didnt really know if this was a system or a spell, so i chose the category 'System' and then also the 'No Target'. If you dont know what it does, take a look at the screenshot. In the tooltip it says that the caster casts a spell and then two nearby allies (or less if there isnt enought units) with the same unit-type (if you set the variable to true) will cast the same abillity (or a spell that looks like it, depends on your needs). If there mana is too low to cast the spell, their simply just dont cast it. The manacost can be set in the triggers, to make it easily configureable. I made the system very configureable and easy to understand, so you can change the warstomp to a random spell, depending on your needs. Now i dont think it is causing any confusion ;)

Thanks! just saw in the tooltip you have a spelling error the last word "enought"
 
Hmmm... I'd like to say this, why do you Add the Ability to the units? It should only be Multicastable for people that has learned it...

I really can't see the Creatvity of this, and I think it's not that usefull.

Lol. If i dont add the spell, they cant use it. If it only is castable for heroes that allready have the spell, there is no idea of making them cast the spell.
 
Level 2
Joined
Aug 15, 2009
Messages
13
Buddy, there's one very bad thing. This system requires some units nearly, and it should be for one too, so use dummy units. I don't understand why when you use firemage's stomp, other mages stomp too. It's pretty not the true one, so add also other system, using damned dummy. They're easy to use and good(ya, gut),

But i thing it's good, that you implemented that system. Just make another one.
 
Last edited:
Top