• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Large Area Cloud

Status
Not open for further replies.
Level 5
Joined
Nov 3, 2007
Messages
113
I have a Spell that makes unit Miss in an large area, with the Cloud Effect Art. But hen i cast it, the cloud art effect only happens in a small region inside the big region where units miss in. How to make it so the Cloud is in the entire region?

+rep if helped
 
Or, you can up to the size of the region, to create an amount of dummy units with the model of the cloud.
E.g. ((Width of Region)/5)
So,
  • For each (Integer A) from 1 to (Width of (Region)/5)
  • Loop - Actions
    • Unit - Create [IntegerA] dummy ...
Just count how many units you can create within the region's dimensions of width reference and replace the "5" i set to the possible number of units.
 
Base your 'Cloud'' effect on dummy with larger scale and negative height (negative height is not important) and create it with triggers.

Example:
  • Set TempPoint = (Target point of ability being cast)
  • Unit - Create 1 <Cloud Dummy> for (Owner of (Triggering unit)) at TempPoint facing Default building facing degrees
  • Custom script: call RemoveLocation(udg_TempPoint)
Note that event must be Unit - A unit Starts the effect of an ability. Else, ''Target point of ability being cast'' wont work.
 
Status
Not open for further replies.
Back
Top