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

Trigger event aoe attack?

Status
Not open for further replies.
Level 4
Joined
Nov 3, 2006
Messages
61
Hi im sure this has a very simple solution but currently i just cant seem to get it to work, im trying to make a trigger where the event is getting a meat wagon attacking ground in a certain region (if you arent aware meat wagons attack ground skill is an aoe). currently i can do everything i want with the trigger except get the event to register the attack the problem is that world editor only allows the events:

Order Targeting a Point
Order Targeting a Unit
Order Targeting an Object

And as an aoe attack is not an attack which targets a point but rather an area it isnt working. Am I missing something or is there some work-around which I should use? Any assistance would be amazing!

Thanks in advance,
Achoozoo
 
Level 5
Joined
Nov 30, 2010
Messages
184
Make your own version of the skill but make it target point aiming. Just change the AoE of the skill to 0 and use triggers to make the skill damage AoE.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
You must create the Regions first... ?
Then, order it to attack the Region, randomly ?
Next, order that unit to use the Targeting a Point Action
Example:
  • Unit - Order *YourUnit* to Attack Ground (Center of Region 000 <gen>)
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Regions can be linked with a variable from Point-type
The Center of Region Action
Therefore, you need to clean only the point, not the region itself
Although in Cinematics if we want to clean Region, do this:
  • Custom script: call RemoveRect(udg_variablename)
 
Level 5
Joined
Nov 30, 2010
Messages
184
Wow. I've got to learn some JASS and cinematics...

But I can't find any good guides on it. Most guides just talk about parameters variables blah blah but I want to know what to type to get what action.
 
Level 20
Joined
Jul 6, 2009
Messages
1,885
Regions can be linked with a variable from Point-type
The Center of Region Action
Therefore, you need to clean only the point, not the region itself
Although in Cinematics if we want to clean Region, do this:
  • Custom script: call RemoveRect(udg_variablename)

To remove region,use
JASS:
native RemoveRegion
You can't refer regions in GUI though.
The region palette creates rects upon which regions are created in BJs when using GUI.
 
Status
Not open for further replies.
Top