• 🏆 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!

[JASS] Name Check At Map Start of Game

Do you play Sheep Tag?(Or tree tag)

  • No

    Votes: 0 0.0%
  • Sheep Tag? Never Heard Of It...

    Votes: 0 0.0%

  • Total voters
    153
Status
Not open for further replies.
Level 1
Joined
Mar 23, 2005
Messages
2
I am a MAJOR sheep tag player and in games that are counting down people leave that are wolves so I thought of a trigger where at start it checks name if your name is *CertainName* it gives Game Defeat for you.
Any help on making this??
Will leave credit for this trigger in map to your username at this site.
 
Level 11
Joined
Jul 2, 2004
Messages
471
Event:
Map initialization

Codition:
None

Action:
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Name of (Player((Integer A)))) Equal to CertainName
Then - Actions
Game - Defeat (Player((Integer A))) with the message: Defeat!


I haven't test it, but it should work :D
Else - Actions
 
Status
Not open for further replies.
Top