Warcraft III resources & community, 2003–2006 · archived

name = to? trigger

4 posts
#1

name = to? trigger

Hey guys im looking for how to get the trigger that i can do if name = ... because i heard of it but could never find out how to do it.. I want to do like if player name = svoluch then do nothing else kick player blue etc etc.. i jsut cant find the damn name = trigger... Is it only in frozen throne or is it in ROC also?
#2
You are looking for something that doesnt exist.

What you want to do is:


Untitled Trigger 001
    Events
        Player - Player 1 (Red) types a chat message containing IAMGOD as An exact match
    Conditions
        (Name of (Triggering player)) Equal to svoluch
    Actions
        Hero - Set (Random unit from (Units in (Playable map area) owned by (Triggering player))) Hero-level to 99999, Hide level-up graphics


There, if you type IAMGOD with the name "svoluch" it will set all your hero levels to max.
#3
ok man that doesnt help AT all... i told u i dont have the trigger im searching tirelessly for it and nothing...
#4
its a string comparison
im not sure if ROC has it, but if you can't find it under string comparison -- i think ROC hasnt..
its not hard to find..
~MP