• 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.

[General] Chat event - restricted to player name

Status
Not open for further replies.
Level 3
Joined
Oct 7, 2010
Messages
30
Hey, i was wondering how to make it possible to have a chat enabled event, that will only take effect if the name of the person who entered the chat string is a part of a list.

I have the normal chat event, and my action is something like this
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Integer((Name of (Triggering player)))) Equal to (Integer(corruption.))
          • (Integer((Name of (Triggering player)))) Equal to (Integer(upsidedownface))
    • Then - Actions
      • Trigger - Turn on Moved 2 <gen>
    • Else - Actions
      • Do nothing
This looks like it should work for me, but when i test the game under the 'worldedit' profile the commands still work. I'm kinda stumped
 
Level 3
Joined
Oct 7, 2010
Messages
30
Ahhh, looks like that was my problem...
Changing the triggor to
  • (Name of (Triggering player)) Equal to upsidedownface
seems to have worked, i'll check over it all to make sure that all is well now, thanks for that :)

Been a few months since i last worked with the editor >.<
I'm more then a little rusty...
 
Status
Not open for further replies.
Top