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

[JASS] Spider mine trigger help

Status
Not open for further replies.
Level 7
Joined
Jan 1, 2005
Messages
133
I need help 2 make a trigger like spider mines on starcraft.

- Once unit is constructed it starts with all spider mines in invertory.
- The unit isnt a hereo but needs 2 have a item invertory.
- The unit only has a limit of 3 spider mines
- the spider mines become invisible when dropped
- Spider mines explode wen enemy enters promixity of mines range which i think is 300

if any1 could help me create or give me an idea on when 2 start on this trigger plz post ur replys here
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
1. edit goblin land mines so they fit your requirement as an item.

2. make a trigger with unit event finishes construction and condition unit type = vulture and action give unit item type of Mines.

3. Make a trigger with event uses a item OR casts a spell (the choice is yours) and a condition to chech that it is vulture mines and then make the actions if unit has item of type = false then remove ability (vulture inventory) else do nothing.

This should help you although the triggeres I said might not have the corect event condition and action names as i said since this was typing quickly.

THIS NEEDS NO JASS!
 
Status
Not open for further replies.
Top