• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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 12
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