- Joined
- Dec 11, 2010
- Messages
- 101
Hello, for the life of me i cant seem to find out what is wrong with my trigger.
What i'm trying to have accomplished is that the game will check every 0.10 seconds for the weapon i have in slot 1. In this example I have Sniper Range.
What it does is that when the Sniper item is in slot 1, i want it to increase my range (add ability to the person holding the item), but i can never seem to get the ability.
I have tried another way that does work, but if i try and swap the items with my mouse, the abilities will not be removed even if the item prior is in slot 2.
Thanks ^-^
What i'm trying to have accomplished is that the game will check every 0.10 seconds for the weapon i have in slot 1. In this example I have Sniper Range.
What it does is that when the Sniper item is in slot 1, i want it to increase my range (add ability to the person holding the item), but i can never seem to get the ability.
I have tried another way that does work, but if i try and swap the items with my mouse, the abilities will not be removed even if the item prior is in slot 2.
-
AquireSniper
-
Events
-
Time - Every 0.10 seconds of game time
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item-type of (Item carried by (Hero manipulating item) in slot 1)) Equal to Sniper Rifle
-
-
Then - Actions
-
Unit - Add Sniper Range to (Hero manipulating item)
-
-
Else - Actions
-
-
-
Thanks ^-^