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

[Trigger] Hero Selection by items

Status
Not open for further replies.
Level 8
Joined
Aug 29, 2007
Messages
277
In my map I've been trying to make a selection system by the use of items (More specifically powerups that are used when picked up instantly.) and I can't find out why it's not working. Here's the triggerwork.
  • Red Agi
    • Events
      • Unit - You 0015 <gen> Uses an item
    • Conditions
      • (Item being manipulated) Equal to Agi 0017 <gen>
    • Actions
      • Unit - Replace You 0015 <gen> with a Cultist (Agi) using The new unit's max life and mana
      • Item - Remove Int 0016 <gen>
      • Item - Remove Str 0018 <gen>
      • Trigger - Turn off Red Int <gen>
      • Trigger - Turn off Red Str <gen>
      • Trigger - Turn off (This trigger)
Any ideas?
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
From the look of it, you've made 3 triggers for each player ? thats inefficient.
You can just use If/Then/Else 's.

Anyway, can't really find any thing in this small trigger.

From the fact that there isn't anything wrong here, I guess there are 2 possible mistakes.
The unit who uses the tomes isn't "You 0015" or the tome isn't "Agi 0017".

Just for the protocol, I would have rather used a generic unit event and a item type condition.
It just feels like they have less chance to bug.
 
Status
Not open for further replies.
Top