How can i make a quest and the text of the quest is only showed for the player who started the quest?
i have now like this
i have now like this
-
Kill the orcs start
-
Events
-
Unit - A unit enters Orckill <gen>
-
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Owner of (Entering unit)) Equal to Player 1 (Red)
-
(Owner of (Entering unit)) Equal to Player 2 (Blue)
-
(Owner of (Entering unit)) Equal to Player 3 (Teal)
-
(Owner of (Entering unit)) Equal to Player 4 (Purple)
-
(Owner of (Entering unit)) Equal to Player 5 (Yellow)
-
(Owner of (Entering unit)) Equal to Player 6 (Orange)
-
(Owner of (Entering unit)) Equal to Player 7 (Green)
-
(Owner of (Entering unit)) Equal to Player 8 (Pink)
-
-
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Questorckill[(Player number of (Owner of (Entering unit)))] Equal to 0
-
-
Then - Actions
-
Quest - Display to (All players) the Quest Update message: Hello, If you going...
-
Set Questorckill[(Player number of (Owner of (Triggering unit)))] = (Questorckill[(Player number of (Owner of (Entering unit)))] + 1)
-
Quest - Create a Optional quest titled Orc with the description I need to kill 10 o..., using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Questorckill[(Player number of (Owner of (Entering unit)))] Equal to 1
-
-
Then - Actions
-
Quest - Display to (All players) the Quest Update message: (And? Did you kill some of them + ((Name of (Owner of (Entering unit))) + ?))
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Questorckill[(Player number of (Owner of (Entering unit)))] Equal to 2
-
-
Then - Actions
-
Set Questorckill[(Player number of (Owner of (Triggering unit)))] = (Questorckill[(Player number of (Owner of (Entering unit)))] + 1)
-
Quest - Display to (All players) the Quest Update message: (Great! thank you + ((Name of (Owner of (Entering unit))) + !!))
-
Hero - Add 500 experience to (Entering unit), Show level-up graphics
-
Quest - Mark (Last created quest requirement) as Completed
-
-
Else - Actions
-
Do nothing
-
-
-
-