- Joined
- Jul 10, 2011
- Messages
- 562
hey guys...
im making a item restriction system at the moment but i ran into a strange problem.
this trigger shows the debug message twice when picking up an item and i just dont get why and how to solve it Oo
thanks in advance
greetz clapto
im making a item restriction system at the moment but i ran into a strange problem.
this trigger shows the debug message twice when picking up an item and i just dont get why and how to solve it Oo
-
Recognize Item PickUp
-
Events
- Unit - A unit Acquires An Item
- Conditions
-
Actions
-
Do Multiple ActionsFor each (Integer A) from 1 to 20, do (Actions)
-
Loop - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
'IF'-Conditions
- (Item level of (Item being manipulated)) Equal to (==) (Integer A)
-
'THEN'-Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
'IF'-Conditions
-
Multiple ConditionsAnd - All (Conditions) are true
-
Conditions
- (Integer A) Less than/Equal to (<=) 8
- (Integer A) Unequal (!=) 4
-
Conditions
-
Multiple ConditionsAnd - All (Conditions) are true
-
'THEN'-Actions
-
Do Multiple ActionsFor each (Integer B) from 1 to (Load 0 of (Integer A) from ItemRestrictionTable), do (Actions)
-
Loop - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
'IF'-Conditions
- (Load (Integer B) of (Integer A) from ItemRestrictionTable) Equal to (==) (GetUnitTypeId(GetTriggerUnit()))
-
'THEN'-Actions
- Game - Display to (All players) the text: works
- Skip remaining actions
- 'ELSE'-Actions
-
'IF'-Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Do Multiple ActionsFor each (Integer B) from 1 to (Load 0 of (Integer A) from ItemRestrictionTable), do (Actions)
- 'ELSE'-Actions
-
'IF'-Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- 'ELSE'-Actions
-
'IF'-Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Do Multiple ActionsFor each (Integer A) from 1 to 20, do (Actions)
-
Events
thanks in advance
greetz clapto