P
Pegasus
Guest
Well, The idea is to get the item(Equipment) "Equip"
E.g A hero gets a sword. the sword should not have any bonus when it is in the hero's inventory. Only after the owner of hero left click on the sword, the bonus takes effect and the sword is remove frm the hero's inventory. Then Weapon equipped is shown on the multiboard. I got a trigger on the multiboard but i do not know how to make the item bonus not taking effect when it is in the inventory and to make the sword remove from the inventory with the effect still on the hero after the hero has equipped it.
I got my trigger as follows:
Create MultiBoard
Events
Time - Elapsed game time is 4.00 seconds
Conditions
Actions
Multiboard - Create a multiboard with 7 columns and 5 rows, titled Equipment
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to (Name of Player 1 (Red))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to (Name of Player 2 (Blue))
Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to (Name of Player 3 (Teal))
Multiboard - Set the text for (Last created multiboard) item in column 5, row 1 to (Name of Player 4 (Purple))
Multiboard - Set the text for (Last created multiboard) item in column 6, row 1 to (Name of Player 5 (Yellow))
Multiboard - Set the text for (Last created multiboard) item in column 7, row 1 to (Name of Player 6 (Orange))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to Weapon:
Multiboard - Set the text for (Last created multiboard) item in column 1, row 3 to Armor:
Multiboard - Set the text for (Last created multiboard) item in column 1, row 4 to Footwear:
Multiboard - Set the text for (Last created multiboard) item in column 1, row 5 to Manual:
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 0 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Hide text and Hide icons
Multiboard - Set the width for (Last created multiboard) item in column 0, row 0 to 8.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 0 to 6.00% of the total screen width
Multiboard - Set the color for (Last created multiboard) item in column 2, row 1 to (100.00%, 0.00%, 0.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 3, row 1 to (0.00%, 0.00%, 100.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 4, row 1 to (50.00%, 100.00%, 100.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 5, row 1 to (25.00%, 0.00%, 50.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 6, row 1 to (100.00%, 100.00%, 0.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 7, row 1 to (100.00%, 50.00%, 0.00%) with 0.00% transparency
-------------------------------------------------------------------
then i got this to put the item on board.
Equip shown on board
Events
Unit - A unit Uses an item
Conditions
Or - Any (Conditions) are true
Conditions
(Item-type of (Item being manipulated)) Equal to Sword
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 1 (Red)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to (Name of (Item being manipulated))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 2 (Blue)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 3, row 2 to (Name of (Item being manipulated))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 3 (Teal)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 4, row 2 to (Name of (Item being manipulated))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 4 (Purple)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 5, row 2 to (Name of (Item being manipulated))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 5 (Yellow)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 6, row 2 to (Name of (Item being manipulated))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 6 (Orange)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 7, row 2 to (Name of (Item being manipulated))
Else - Actions
Do nothing
This is my first post, sorry if i type in any way offending or anyway not appropriate. Thanks for all help given.
E.g A hero gets a sword. the sword should not have any bonus when it is in the hero's inventory. Only after the owner of hero left click on the sword, the bonus takes effect and the sword is remove frm the hero's inventory. Then Weapon equipped is shown on the multiboard. I got a trigger on the multiboard but i do not know how to make the item bonus not taking effect when it is in the inventory and to make the sword remove from the inventory with the effect still on the hero after the hero has equipped it.
I got my trigger as follows:
Create MultiBoard
Events
Time - Elapsed game time is 4.00 seconds
Conditions
Actions
Multiboard - Create a multiboard with 7 columns and 5 rows, titled Equipment
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to (Name of Player 1 (Red))
Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to (Name of Player 2 (Blue))
Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to (Name of Player 3 (Teal))
Multiboard - Set the text for (Last created multiboard) item in column 5, row 1 to (Name of Player 4 (Purple))
Multiboard - Set the text for (Last created multiboard) item in column 6, row 1 to (Name of Player 5 (Yellow))
Multiboard - Set the text for (Last created multiboard) item in column 7, row 1 to (Name of Player 6 (Orange))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to Weapon:
Multiboard - Set the text for (Last created multiboard) item in column 1, row 3 to Armor:
Multiboard - Set the text for (Last created multiboard) item in column 1, row 4 to Footwear:
Multiboard - Set the text for (Last created multiboard) item in column 1, row 5 to Manual:
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 0 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Hide text and Hide icons
Multiboard - Set the width for (Last created multiboard) item in column 0, row 0 to 8.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 0 to 6.00% of the total screen width
Multiboard - Set the color for (Last created multiboard) item in column 2, row 1 to (100.00%, 0.00%, 0.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 3, row 1 to (0.00%, 0.00%, 100.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 4, row 1 to (50.00%, 100.00%, 100.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 5, row 1 to (25.00%, 0.00%, 50.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 6, row 1 to (100.00%, 100.00%, 0.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 7, row 1 to (100.00%, 50.00%, 0.00%) with 0.00% transparency
-------------------------------------------------------------------
then i got this to put the item on board.
Equip shown on board
Events
Unit - A unit Uses an item
Conditions
Or - Any (Conditions) are true
Conditions
(Item-type of (Item being manipulated)) Equal to Sword
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 1 (Red)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to (Name of (Item being manipulated))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 2 (Blue)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 3, row 2 to (Name of (Item being manipulated))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 3 (Teal)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 4, row 2 to (Name of (Item being manipulated))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 4 (Purple)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 5, row 2 to (Name of (Item being manipulated))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 5 (Yellow)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 6, row 2 to (Name of (Item being manipulated))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Hero manipulating item)) Equal to Player 6 (Orange)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 7, row 2 to (Name of (Item being manipulated))
Else - Actions
Do nothing
This is my first post, sorry if i type in any way offending or anyway not appropriate. Thanks for all help given.


