What is this trigger missing?
I followed a turtorial showing me how to make an IDS.
Now this one is based on the item level in object editor.
Let's say all two-handed weapons are level 1.
Main hands are level 2.
And off-hands are level 3.
The main idea here is that you cannot use 2 two-handed weapons. Nor can you use two main hands or two off-hands at the same time. But you may be able to use 1 main hand and 1 off hand together.
But the trigger i was instructed does not seem to work.
What am I missing?
I followed a turtorial showing me how to make an IDS.
Now this one is based on the item level in object editor.
Let's say all two-handed weapons are level 1.
Main hands are level 2.
And off-hands are level 3.
The main idea here is that you cannot use 2 two-handed weapons. Nor can you use two main hands or two off-hands at the same time. But you may be able to use 1 main hand and 1 off hand together.
But the trigger i was instructed does not seem to work.
What am I missing?
-
IDS
-

Events
-


Unit - A unit Acquires an item
-
-

Conditions
-

Actions
-


Set ItemCounter_Limiter = 0
-


Set ItemCounter_Level = (Item level of (Item being manipulated))
-


Set ItemCounter_PickUpUnit = (Triggering unit)
-


Set ItemCounter_Inventory = (Size of inventory for ItemCounter_PickUpUnit)
-


For each (Integer ItemCounter_Loop) from 1 to ItemCounter_Inventory, do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Item level of (Item carried by ItemCounter_PickUpUnit in slot ItemCounter_Loop)) Equal to ItemCounter_Level
-
-





Then - Actions
-






Set ItemCounter_Level = (ItemCounter_Limiter + 1)
-
-





Else - Actions
-
-
-
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




ItemCounter_Limiter Greater than 1
-
-



Then - Actions
-




Hero - Drop (Item being manipulated) from ItemCounter_PickUpUnit
-




Game - Display to (All players controlled by a ((Owner of (Triggering unit)) controller) player) the text: You are fat.
-
-



Else - Actions
-
-


Set ItemCounter_PickUpUnit = No unit
-
-
Last edited:

