• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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