Is there a way to make this trigger.

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

unknow
Senior Member
Posts: 143
Joined: September 25th, 2007, 10:04 pm

Is there a way to make this trigger.

Post by unknow »

Is there a way to make like a trigger only work for a person with a specific name?
EX: A trigger only works if the account name is "Test"
Is that possible or it has to be in jass or impossible?
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Re: Is there a way to make this trigger.

Post by Xantan »

easy.

condition --> string --> function named 'player name equal to' or something
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Is there a way to make this trigger.

Post by Aero »

Code: Select all

Melee Initialization
    Events
        Player - Player 1 (Red) types a chat message containing <Some String> as An exact match
    Conditions
        (Name of (Triggering player)) Equal to <Some name>
    Actions
        <Do stuff>