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?
Is there a way to make this trigger.
Moderator: Cheaters
-
- Senior Member
- Posts: 143
- Joined: September 25th, 2007, 10:04 pm
-
- Honorary wc3edit.net Traitor
- Posts: 2507
- Joined: February 1st, 2007, 4:11 pm
- Location: NEVADA
Re: Is there a way to make this trigger.
easy.
condition --> string --> function named 'player name equal to' or something
condition --> string --> function named 'player name equal to' or something
-
- 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.
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>