HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Items with Triggers

10-15-2004, 05:06 AM#1
Miningjrk
Somebody please tell me there is a way, with triggers, to change an item from "activly used" to not activly used without having a copy of that item and replacing it....
10-15-2004, 09:42 AM#2
Dead-Inside
Well if you have one item that does stuff and one that doesn't then just check a heros inventory for it and remove the item in question and create the dummy without the effects for him.
10-15-2004, 01:47 PM#3
AntJAB
I believe he just asked how NOT to do that.
Maybe if you can target the item as a unit and add/remove abilities from it.
10-15-2004, 03:21 PM#4
Miningjrk
Possibly, but you could still click it. I would prefer it be un-clickable (not actively used), however that is an interesting idea.

-Miningjrk
10-15-2004, 05:14 PM#5
AntJAB
Oh I see now, a non-clickable item that still bestows benefits?
Item class permanent is all non-clickables that add a passive bonus.
Are you trying to have something that you choose when to use it... but not click it?
10-15-2004, 11:14 PM#6
Miningjrk
I want it so that when you click an item (weapon) it becomes your active weapon with a charge, however cannot be clicked again (its in your hand now) until you choose a diffrent weapon (by clicking that weapon) which then becomes your active weapon and the previous one is now re-clickable. Make sense?

-Miningjrk
10-16-2004, 01:22 AM#7
Miningjrk
Somebody please answer!!!!
10-16-2004, 02:05 AM#8
JoSanchez55
Im pretty sure the only way to do this would be to switch out the item and replace it with another. Such as, a unit uses item equal to "activeitem", remove "activeitem" from triggering unit, create 1 "inactiveitem" and give it to "triggering unit". So you would have one item that is activly used and has charges, then switch it out for one that looks the same but has no charges and isnt activly used.

If you are using multiple items and would like the inactive items to become active upon the use of another, then just make another if/then/else multiple functions and pick up if the user has any of the inactive types, then switch them out for the active, this could all probably be done with 1 trigger per item.

However, if you want the items to retain any amount of charges, that may be difficult. Perhaps 'custom values' would work...
10-16-2004, 02:13 AM#9
Miningjrk
-Sighs- I figured it would come down to this. Thanks for your effort anyway.

-Miningjrk