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

Need help with trgigers!

Status
Not open for further replies.
Level 3
Joined
Aug 10, 2004
Messages
33
I need help with a system for items. I need a system so that when a unit aquires a couple of items something happens. ZThis is know to most people in an RPG as an ITEM SET. I can do the actions just I need an event or events that happen and conditions.
 
Level 3
Joined
Nov 3, 2004
Messages
43
um... do you mean joining items like in the warcraft campaign with the key of the three moons. if it is I have done this once in one of my maps ( i didn't submit it though)

if so your trigger should look like this:

Event

unit aquires an item

condition

(item comparison) when triggering item is equal to (item you like)
(item... type comparison I think) Item carried by hero in slot 1 ( I have'nt worked out a better way of doing this yet) is equal to(other item of your choice)
(unit comparison) triggering unit is equal to (select a hero)

Action

(hero, remove item) remove item from hero of type (1st item)
same action only with other item

crate 1 (item you want to crate) for hero (triggering hero) in slot 1.

I think this works but it may need some alterations. I hope you can understand this :roll: I am not very good at explaining.
 
Status
Not open for further replies.
Top