• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] show text for only 1 player

Status
Not open for further replies.
Level 1
Joined
Feb 17, 2008
Messages
4
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
  • 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
 
Status
Not open for further replies.
Top