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

Neutral Passive Explode?

Status
Not open for further replies.
Level 13
Joined
Aug 31, 2005
Messages
823
Anyone know how to make a neutral passive unit-type explode when it comes within a 100 range of another unit? I've read through the triggers and I cant seem to find anything that will work without leaks. Im looking for something like this:
  • Event: A unit comes within 100 of unit(type of unit - bullet)
  • Conditions: Unit type of unit not equal to Ship1
  • Actions: Unit kill triggering unit
If you think I'd get more help in another forum then feel free to move the topic. (wasnt exactly sure where to post it)
 
Level 16
Joined
Oct 30, 2004
Messages
1,277
Map Development (1 Viewing)
Talk about your projects in development. Release beta tests, get useful feedback, ask questions for improval before the final release.
Maps should be attached to your post.

World Editor Help Zone
Need help with the world editor? Ask questions about triggers, spells, scripts etc.

I just wonder which one of these is the right forum for this... Moved!
 
Level 13
Joined
Aug 31, 2005
Messages
823
I just wonder which one of these is the right forum for this... Moved!

Ty, sorry I thought I already had it in the WE zone (after a few sleepless nights the forums all look the same lol). Oh, well anyway, yea its not the exact trigger operator. Im asking if anyone knows how to write a trigger that can do this or if there is a way to do it with jass.
 
Level 15
Joined
Feb 9, 2006
Messages
1,598
Oh, ok : p Well, Like I said, what you want would only work with units allready placed in the map:

  • Melee Initialization
    • Events
      • Unit - A unit comes within 100.00 of bullet 0000 <gen>
    • Conditions
      • (Unit-type of (Triggering unit)) Not equal to ship1
    • Actions
      • Unit - Kill (Triggering unit)
 
Status
Not open for further replies.
Top