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