-Kill command??

aki15

New Member
Reaction score
5
Hi guys, i'm posting this to ask u how can i make this:
When Blue player say -Kill 50-150
Kill limit will be that number, and when 1 of 2 teams reach that number it will win...?
Anyone know how to do this :) ?
 

TomTTT

New Member
Reaction score
44
easy squeesy... :D
Create a variable, name it something like Goal (Integer). Then, turn this trigger whenever you want it and turn it off whenever you want, and when a player types -kill, then set tmpInt (Integer) to Substring(Entered chat string) 6, (Length of (Entered chat string)) [It's in convert string to integer and vise versa] . Then check if it's less than or higher than 50-150 and if it isn't, set Goal = tmpInteger.
 

aki15

New Member
Reaction score
5
Hmm, I know how to make it but I'm not so sure..
If you have some time can u give me some example trigger?
 

TomTTT

New Member
Reaction score
44
Sure.
Will edit this one finished.

Trigger:
  • Kill
    • Events
      • Player - Player 1 (Red) types a chat message containing -Kill as A substring
    • Conditions
      • (Integer((Substring((Entered chat string), 7, (Length of (Entered chat string)))))) Greater than or equal to 50
      • (Integer((Substring((Entered chat string), 7, (Length of (Entered chat string)))))) Less than or equal to 150
    • Actions
      • Set Goal = (Integer((Substring((Entered chat string), 7, (Length of (Entered chat string))))))

There :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top