• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Mui or smth

Status
Not open for further replies.
Level 18
Joined
May 11, 2012
Messages
2,103
will this trigger work for each player normally if more players strt the trigger? or it will fuck up...

  • Tips
    • Events
      • Player - Player 1 (Red) types a chat message containing -tips as An exact match
      • Player - Player 2 (Blue) types a chat message containing -tips as An exact match
      • Player - Player 3 (Teal) types a chat message containing -tips as An exact match
      • Player - Player 4 (Purple) types a chat message containing -tips as An exact match
      • Player - Player 5 (Yellow) types a chat message containing -tips as An exact match
      • Player - Player 6 (Orange) types a chat message containing -tips as An exact match
      • Player - Player 7 (Green) types a chat message containing -tips as An exact match
      • Player - Player 8 (Pink) types a chat message containing -tips as An exact match
    • Conditions
    • Actions
      • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
      • Set PlayerGroup = (Player group((Triggering player)))
      • Game - Display to PlayerGroup the text: |cff7777aaYou have ...
      • Custom script: call DestroyForce(udg_PlayerGroup)
      • Wait 25.00 seconds
      • Set PlayerGroup = (Player group((Triggering player)))
      • Game - Display to PlayerGroup the text: |cff7777aaTip 1: Al...
      • Wait 120.00 seconds
      • Set PlayerGroup = (Player group((Triggering player)))
      • Game - Display to PlayerGroup the text: |cff7777aaTip 2: If...
      • Custom script: call DestroyForce(udg_PlayerGroup)
      • Wait 120.00 seconds
      • Set PlayerGroup = (Player group((Triggering player)))
      • Game - Display to PlayerGroup the text: |cff7777aaTip 3: If...
      • Custom script: call DestroyForce(udg_PlayerGroup)
      • Wait 180.00 seconds
      • Set PlayerGroup = (Player group((Triggering player)))
      • Game - Display to PlayerGroup the text: |cff7777aaTip 4: Al...
      • Custom script: call DestroyForce(udg_PlayerGroup)
      • Wait 240.00 seconds
      • Set PlayerGroup = (Player group((Triggering player)))
      • Game - Display to PlayerGroup the text: |cff7777aaTip 5: De...
      • Custom script: call DestroyForce(udg_PlayerGroup)
      • Custom script: endif
 
Level 10
Joined
Mar 31, 2009
Messages
732
Dirty fix:
  • Custom script: local playergroup udg_PlayerGroup = (Player group((Triggering player)))
  • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
  • Game - Display to PlayerGroup the text: |cff7777aaYou have ...
  • Custom script: endif
  • Wait 25.00 seconds
  • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
  • Game - Display to PlayerGroup the text: |cff7777aaTip 1: Al...
  • Custom script: endif
  • Wait 120.00 seconds
  • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
  • Game - Display to PlayerGroup the text: |cff7777aaTip 2: If...
  • Custom script: endif
  • Wait 120.00 seconds
  • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
  • Game - Display to PlayerGroup the text: |cff7777aaTip 3: If...
  • Custom script: endif
  • Wait 180.00 seconds
  • (and so on)
 
Level 18
Joined
May 11, 2012
Messages
2,103
How trigger now looks and works for player 1 and 2 when i was testing

  • Tips
    • Events
      • Player - Player 1 (Red) types a chat message containing -tips as An exact match
      • Player - Player 2 (Blue) types a chat message containing -tips as An exact match
      • Player - Player 3 (Teal) types a chat message containing -tips as An exact match
      • Player - Player 4 (Purple) types a chat message containing -tips as An exact match
      • Player - Player 5 (Yellow) types a chat message containing -tips as An exact match
      • Player - Player 6 (Orange) types a chat message containing -tips as An exact match
      • Player - Player 7 (Green) types a chat message containing -tips as An exact match
      • Player - Player 8 (Pink) types a chat message containing -tips as An exact match
    • Conditions
      • Tips[(Player number of (Triggering player))] Equal to False
    • Actions
      • Custom script: local force udg_PlayerGroup = GetForceOfPlayer(GetTriggerPlayer())
      • Set Tips[(Player number of (Triggering player))] = True
      • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
      • Game - Display to PlayerGroup the text: |cff7777aaYou have ...
      • Custom script: endif
      • Wait 25.00 seconds
      • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
      • Game - Display to PlayerGroup the text: |cff7777aaTip 1: Al...
      • Custom script: endif
      • Wait 120.00 seconds
      • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
      • Game - Display to PlayerGroup the text: |cff7777aaTip 2: If...
      • Custom script: endif
      • Wait 120.00 seconds
      • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
      • Game - Display to PlayerGroup the text: |cff7777aaTip 3: If...
      • Custom script: endif
      • Wait 180.00 seconds
      • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
      • Game - Display to PlayerGroup the text: |cff7777aaTip 4: Al...
      • Custom script: endif
      • Wait 240.00 seconds
      • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
      • Game - Display to PlayerGroup the text: |cff7777aaTip 5: De...
      • Custom script: endif
      • Wait 240.00 seconds
      • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
      • Game - Display to PlayerGroup the text: |cff7777aaTip 6: If...
      • Custom script: endif
      • Wait 240.00 seconds
      • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
      • Game - Display to PlayerGroup the text: |cff7777aaTip 7: In...
      • Custom script: endif
      • Wait 480.00 seconds
      • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
      • Game - Display to PlayerGroup the text: |cff7777aaTip 8: Re...
      • Custom script: endif
      • Wait 480.00 seconds
      • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
      • Game - Display to PlayerGroup the text: |cff7777aaTip 9: 30...
      • Custom script: endif
      • Wait 750.00 seconds
      • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
      • Game - Display to PlayerGroup the text: |cff7777aaTip 10: I...
      • Custom script: endif
      • Wait 750.00 seconds
      • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
      • Game - Display to PlayerGroup the text: |cff7777aaTip 11:
      • Custom script: endif
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
I find it strange that you have to wait an entire hour before you can see the last tip :p.
Also, you can't turn off tips once enabled.

Personally, I would've used a periodic trigger and then loop through all players to see if they have tips enabled. If they do, display something and increase tip counter.
 
Level 18
Joined
May 11, 2012
Messages
2,103
hehe apo, the tips are helping you to start the game if u never played it... So it starts with basic things you should know (where to find some items, how to prevent stupid death, some hints etc...) and then as the game passes by, tells you when is the good time to proceed and shits.. That's not the last hint (20th is)..
 
Status
Not open for further replies.
Top