Jump to content

CornishRebel

Member
  • Content Count

    4
  • Joined

  • Last visited

  • Medals

Posts posted by CornishRebel


  1.  

    If you've already assigned names, then why not simply add those names/units to an array beforehand. Saves you a lot of trouble.

     

    Oh, wait... profileNames ?

     

     

    Then simply use the "find" command to analyze the string:

    https://community.bistudio.com/wiki/find

     

    Like this:

    if (profileName find "[TAG]" > -1) then {
        // do something nasty
    };

    Works perfectly, no option to kick I dont think so had to use a custom mission finish to get the player back to the lobby to either change side or change tags

    Many thanks

×