Goblin Atomz Bomb please help!

Status
Not open for further replies.
Level 2
Joined
Jun 16, 2009
Messages
11
Having trouble making this item based trigger work.
Goblin Big Bomb
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Atomz Bomb
Actions
Wait 10.00 seconds
Cinematic - Ping minimap for (All players) at (Position of (Item being manipulated)) for 1.00 seconds
Special Effect - Create a special effect at (Position of (Item being manipulated)) using war3mapImported\NuclearExplosion.mdx
Destructible - Pick every destructible within 10.00 of (Position of (Item being manipulated)) and do (Actions)
Loop - Actions
Destructible - Kill (Picked destructible)
Unit Group - Pick every unit in (Units within 10.00 of (Position of (Item being manipulated))) and do (Actions)
Loop - Actions
Unit - Explode (Picked unit)
Environment - Create a Cell width second Permanent crater deformation at (Position of (Item being manipulated)) with radius 10.00 and depth 5.00
Item - Remove (Item being manipulated)
 
Level 3
Joined
Jul 17, 2007
Messages
24
Make a variable (with an array if u want too) that is a Point, and set the point as the Position of ITem being Manipulated b4 the Wait timer, then make all the parts where it sais "(Position of (Item being manipulated))" The variable Point.

Dont forget to destroy the variable at the end of trigger otherwise ull get leaks :O
 
Level 2
Joined
Jun 16, 2009
Messages
11
So then I don't particularly want to go through looking for all that would someone be able to list the things I need to edit and what I should potentially change them to? :mwahaha:
 
Level 2
Joined
Jun 16, 2009
Messages
11
Variable

Make a variable (with an array if u want too) that is a Point, and set the point as the Position of ITem being Manipulated b4 the Wait timer, then make all the parts where it sais "(Position of (Item being manipulated))" The variable Point.

Dont forget to destroy the variable at the end of trigger otherwise ull get leaks :O

How do I destroy the variable?
 
Level 22
Joined
Feb 3, 2009
Messages
3,292
  • Custom Script: call DestroyGroup(udg_var)
While "var" is your unitgroup variable.


--------------------------------------------------------------------------------
But we have a point variable so you must use this one instead:
--------------------------------------------------------------------------------
  • Custom Script: call RemoveLocation(udg_loc)
While "loc" is your point variable









 
Status
Not open for further replies.
Top