• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Solved] Make a spell casted by every one

Status
Not open for further replies.
Level 7
Joined
Jan 12, 2014
Messages
67
Hello !
I made a spell which boost the movespeed of the caster based on the rune of speed. But when i have multiple casters with the spell, when i press the button only one cast it.
I want it to work like defend or burrow : everyone who has it cast it !
Is it hardcoded within the spell or can i change it ?

Thanks !
 
I don't think you can change that. I think the only spell that can set this is the Channel spell by (un)checking the 'Unique Cast' flag.
What you could do is use the Channel spell as base and when someone casts that Channel spell, then create dummy and let the dummy cast spell like Bloodlust, etc. that increases movement speed.

Other option could be to detect when unit casts the spell, get player's current selection and order each selected unit to cast the spell as well.
I am not sure how save it is to use player's current selection for this in multiplayer games, though.
 
Status
Not open for further replies.
Back
Top