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

How can this be done effectively?

Status
Not open for further replies.
Level 4
Joined
Jun 7, 2008
Messages
37
So, I'm making a spell that's Frost Nova with a twist: it creates ice pillars at random points within 600 of the target for 5 seconds.

The thing is, is it possible to do in GUI or will I have to resort to JASS?
 
Level 18
Joined
Aug 23, 2008
Messages
2,319
Sure. You make an event and Condition that marks the ability being cast, you make an action that makes the area of effect within X range of the position of the ability being cast (TempPoint), and you create let's say 5 units with those ice pillar models at 5 random locations in that area. At the end, you destroy TempPoint to prevent leaks.
 
Level 5
Joined
Oct 3, 2008
Messages
104
you have to detect the region within range of target point/unit of ability being cast,

Loop for integers 1 to 5
set temp point as random point within 600 range of target point/unit of ability being cast
create 1 ice pillar at temp point
remove temp point leak via custom script
 
Status
Not open for further replies.
Top