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

Spider Mines

Status
Not open for further replies.
Level 3
Joined
Jul 17, 2012
Messages
26
I've been trying to make a kill-streak trigger that will add one spider mine to a unit which already has the use spider mines ability. I have the ability start the player with one mine but allow them to hold up to 5.

Ive tried all kinds of ACTIONS like "Add Item," and "Add Ammunition."

Maybe my TRIGGER/CONDITION is the problem. I have it as:
TRIGGER: Unit - Any Unit Dies
CONDITION: ((Killing Unit) kills (Current))==4
Then I was trying to have the action apply 1 extra Spider Mine to the killing unit.

I've also just tried adding the replenish spider mines ability, but the ability doesn't seem to work. I was just going to have the kill-streak show (un-hide) the replenish ability and just give it only one charge.

I've noticed that the EFFECT "Make Vulture Spider Mines" is greyed out in my DATA, is that my problem?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
((Killing Unit) kills (Current))==4 will only work once at 4 kills.

You want the pesudo code
killing unit kills current%4 == 0

Also consider hooking a specific unit event to the appropiate units rather than a generic unit event to prevent unnescescary trigger execution.
 
Status
Not open for further replies.
Top