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

Unknown player event???

Status
Not open for further replies.
Level 14
Joined
Aug 8, 2010
Messages
1,022
Hi, guys! I want to ask something is there something like :
  • UnknownPlayerEventTrigg
  • A player types chat message 'The-hive-rules'.
or a way to improvise it? Because it will take a looooooot of time to make it like :
  • UnknownPlayerEventTrigg
  • Player 1 types chat message 'The-hive-rules'.
  • Player 2 types chat message 'The-hive-rules'.
  • ...
  • ...
  • Player 12 types chat message 'The-hive-rules'.

Thanks! +rep will be added till the end of my life!
 
Level 7
Joined
Apr 1, 2010
Messages
289
  • Melee Initialization Copy
    • Events
      • Map initialization
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Trigger - Add to (yourTrigger) the event (Player - (Player((Integer A))) types a chat message containing Some text as An exact match)
this will do it.
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
OMG Narogog! DOES THAT WORK?! I can't believe it... I've been fooled by myself... xD Creating each event separatedly instead of adding events with triggers xD
 
Status
Not open for further replies.
Top