Weapon Equip Trigger

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

User avatar
ZilvaX
Member
Posts: 52
Joined: December 16th, 2007, 2:23 am

Weapon Equip Trigger

Post by ZilvaX »

I just need help with a trigger something like this:
A unit uses a item, for example that item is a Metal Sword, Then I need it so that if there is no other item's equipped then add a attachment and a damage bonus, but if there is an other item equipped it unequips that item and equips the newly equipped item, and if you drop that item it enequips as well.
Image
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Weapon Equip Trigger

Post by Arabidnun »

Why don't you make class specific items, like permanant, artifact, and all that.

Like if the unit has unit item of type = artifact, drop last picked up item.

Therefore, you can just add the buffs to the items, pretty simple.
User avatar
Syre
Forum Staff
Posts: 506
Joined: November 17th, 2008, 3:49 pm

Re: Weapon Equip Trigger

Post by Syre »

Take a look at the three of these, the first two are the equipment systems..The first one is more simpler with less features, however it drops the old item when the new one is equipped, the second one has more features with a better code, yet it lacks what i just stated previously.

I havent looked at them ingame so im not sure if they actually show the equipped attachment, so thats what the third link is for.

Hopefully this is what you were looking for.
Image