- Joined
- Jun 21, 2007
- Messages
- 505
I have two triggers. The first trigger takes item and displays text, which is provided by the second trigger according to the item type of that item.
Here's example:
If you need to examine the map, then I'll post it.
Here's example:
-
Events
- Time - Elapsed game time becomes equal to 10.00 seconds
-
Conditions
- (Number of items carried by Hero) Greater than 1
-
Actions
-
For each Integer A from 1 to 6 do (Actions)
- Set ItemType = Item-Type of Item carried by Hero in slot (Integer A)
- Trigger - Run Settings Setter <gen>
- Game - display to (All player) text: The_Text
-
For each Integer A from 1 to 6 do (Actions)
- Settings Setter
- Events
- Conditions
-
Actions
- If (ItemType = Ring of Protection +2) then (set The_Text = Tralala2)
- If (ItemType = Ring of Protection +3) then (set The_Text = Tralala3)
- If (ItemType = Ring of Protection +4) then (set The_Text = Tralala4)
If you need to examine the map, then I'll post it.