• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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