Text shows two times in game! - SOLVED
Hello,
i have a problem with this trigger. It works good, but the text message is always shown two times (for example: you take a sword with less than 15 strength and you got 2 Textlines in game:
You need a minimum of 15 strength to use this weapon
You need a minimum of 15 strength to use this weapon)
I changed the messagetype for the first function the hint, but the problem is the same.
Can someone tell me what is wrong?
Hello,
i have a problem with this trigger. It works good, but the text message is always shown two times (for example: you take a sword with less than 15 strength and you got 2 Textlines in game:
You need a minimum of 15 strength to use this weapon
You need a minimum of 15 strength to use this weapon)
I changed the messagetype for the first function the hint, but the problem is the same.
Can someone tell me what is wrong?
-
weapon
-
Events
- Unit - A unit Acquires an item
-
Conditions
- (Item-class of (Item being manipulated)) Equal to Permanent
- ((Triggering unit) is A Hero) Equal to True
-
Actions
-
For each (Integer A) from 1 to 6, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item-class of (Item carried by (Triggering unit) in slot (Integer A))) Equal to Permanent
- (Item carried by (Hero manipulating item) in slot (Integer A)) Not equal to (Item being manipulated)
-
Then - Actions
- Quest - Display to (Player group((Owner of (Hero manipulating item)))) the Hint message: You can carry only ...
- Set WrongItem = (Item being manipulated)
- Unit - Order (Triggering unit) to drop WrongItem at (Position of (Triggering unit))
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item level of (Item being manipulated)) Equal to 2
- (Strength of (Hero manipulating item) (Exclude bonuses)) Less than 15
-
Then - Actions
- Game - Display to (Player group((Owner of (Hero manipulating item)))) the text: You need a minimum ...
- Set WrongItem = (Item being manipulated)
- Unit - Order (Triggering unit) to drop WrongItem at (Position of (Triggering unit))
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item level of (Item being manipulated)) Equal to 4
- (Strength of (Hero manipulating item) (Exclude bonuses)) Less than 25
-
Then - Actions
- Game - Display to (Player group((Owner of (Hero manipulating item)))) the text: You need a minimum ...
- Set WrongItem = (Item being manipulated)
- Unit - Order (Triggering unit) to drop WrongItem at (Position of (Triggering unit))
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item level of (Item being manipulated)) Equal to 6
- (Strength of (Hero manipulating item) (Exclude bonuses)) Less than 50
-
Then - Actions
- Game - Display to (Player group((Owner of (Hero manipulating item)))) the text: You need a minimum ...
- Set WrongItem = (Item being manipulated)
- Unit - Order (Triggering unit) to drop WrongItem at (Position of (Triggering unit))
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item level of (Item being manipulated)) Equal to 12
- (Agility of (Hero manipulating item) (Exclude bonuses)) Less than 15
-
Then - Actions
- Game - Display to (Player group((Owner of (Hero manipulating item)))) the text: You need a minimum ...
- Set WrongItem = (Item being manipulated)
- Unit - Order (Triggering unit) to drop WrongItem at (Position of (Triggering unit))
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item level of (Item being manipulated)) Equal to 14
- (Agility of (Hero manipulating item) (Exclude bonuses)) Less than 25
-
Then - Actions
- Game - Display to (Player group((Owner of (Hero manipulating item)))) the text: You need a minimum ...
- Set WrongItem = (Item being manipulated)
- Unit - Order (Triggering unit) to drop WrongItem at (Position of (Triggering unit))
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item level of (Item being manipulated)) Equal to 16
- (Agility of (Hero manipulating item) (Exclude bonuses)) Less than 50
-
Then - Actions
- Game - Display to (Player group((Owner of (Hero manipulating item)))) the text: You need a minimum ...
- Set WrongItem = (Item being manipulated)
- Unit - Order (Triggering unit) to drop WrongItem at (Position of (Triggering unit))
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item level of (Item being manipulated)) Equal to 22
- (Intelligence of (Hero manipulating item) (Exclude bonuses)) Less than 15
-
Then - Actions
- Game - Display to (Player group((Owner of (Hero manipulating item)))) the text: You need a minimum ...
- Set WrongItem = (Item being manipulated)
- Unit - Order (Triggering unit) to drop WrongItem at (Position of (Triggering unit))
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item level of (Item being manipulated)) Equal to 24
- (Intelligence of (Hero manipulating item) (Exclude bonuses)) Less than 25
-
Then - Actions
- Game - Display to (Player group((Owner of (Hero manipulating item)))) the text: You need a minimum ...
- Set WrongItem = (Item being manipulated)
- Unit - Order (Triggering unit) to drop WrongItem at (Position of (Triggering unit))
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item level of (Item being manipulated)) Equal to 26
- (Intelligence of (Hero manipulating item) (Exclude bonuses)) Less than 50
-
Then - Actions
- Game - Display to (Player group((Owner of (Hero manipulating item)))) the text: You need a minimum ...
- Set WrongItem = (Item being manipulated)
- Unit - Order (Triggering unit) to drop WrongItem at (Position of (Triggering unit))
-
Else - Actions
- Do nothing
-
If - Conditions
-
For each (Integer A) from 1 to 6, do (Actions)
-
Events
Last edited: