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

Equiping Weapons Trigger Help

Status
Not open for further replies.
Level 1
Joined
Jul 11, 2006
Messages
1
Ive been working on a way for a unit to switch weapons by clicking on the weapon item in one of his item slots then targeting himself. The item ability on itd own is only a dummy ability. However, this item ability would trigger an event that would replace the unit with the same unit but with different attack stats to represent the equiped weapon. So i did the trigger like this:

Event
- Unit uses an item

Conditions
- {Item Being Manipulated} Equal to {Item Carried by [Item carried by [target unit of ability being cast] of type Boltgun]

Actions
- Unit- Replace {Triggering Unit} with a Space Marine [Bolter] using the old units relative life and mana.

However this doesnt realy work out properly and the unit that uses the ability does not get replaced with the properly equipped unit. So im stuck in a bit of a rut with this. What am i doing wrong with this trigger? any help would be appreciated.
 
Level 3
Joined
Jan 1, 2005
Messages
44
well your conditions... u know what they say? they say then
Used item is item being used by unit targeted with bolt spell :p

Easiest way to fix it is making item from targeting into clickable... so if item clicked u turn into rine
 
Status
Not open for further replies.
Top