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.
Weapon Equip Trigger
Moderator: Cheaters
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: Weapon Equip Trigger
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.
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.
-
- Forum Staff
- Posts: 506
- Joined: November 17th, 2008, 3:49 pm
Re: Weapon Equip Trigger
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.
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.
Spoiler: