Jump to content

Search the Community

Showing results for tags 'rank'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
  • DayZ
    • Discussion
    • Public Servers
    • DayZ SA Resources
    • Q&A Section
  • ArmA 3
    • Epoch Survival
    • Community Projects
    • Q&A Section
    • Terrain Discussion
    • Resources
  • Arma 3 Resources
  • ArmA 2
    • General Discussion.
    • Q&A Section
    • Resources
    • Legacy Resources
    • A2: Community Projects
    • A2 Community Servers
  • Space Engineers
    • General Discussion.
    • Public Servers
  • Other Games
    • Discussion
  • Off Topic
    • Off Topic

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 3 results

  1. Hi! Hero can not give money to a bandit And bandit not give money hero (Permssion?) On the other hand it is true ZSC version 1.0.6.1 (fresh)
  2. This simple Rank script is for those that RP a military, paramilitary, or militia type groups, and would like to set a specific group rank for individuals on log in. I've used so many great scripts from this community, it's nice that I can make a small contribution of my own. Very special thanks to hambeast for the original script example and helpful tips for making it better. Without this guidance I may have never gotten this far. Please copy, steal, modify, and/or share this script. Just consider giving credit to hambeast and myself for this effort. Thank you. INSTALLATION: 1. Go to your MPMission folder and unpack your map pbo (ex. epoch.Chernarus.pbo) 2. In the folder look for init.sqf. If you do not have one you can create and empty file and name init.sqf 3. Add the following to the bottom of your init.sqf and save it. //Ranks by hambeast and Evan Black []execVM "scripts\ranks.sqf"; 4. Create a folder called "scripts" (in the same place as init.sqf). If you already have this folder skip this step. 5. Open the scripts folder and create empty file called "ranks.sqf". 6. Add the following to the ranks.sqf file. //ranks.sqf //Original Script by hambeast //Modified and Completed by Evan Black // Wait for ingame waitUntil {!isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; waitUntil {isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; sleep 2; //Optional delay to ensure script execution // Rank/UID list. Use Example Below. //UID Example: Ranks_CORPORAL = ["7656xxxxxxxxxxxxxx","7656xxxxxxxxxxxxxx"]; no trailing comma Ranks_CORPORAL = []; Ranks_SERGEANT = []; Ranks_LIEUTENANT = []; Ranks_CAPTAIN = []; Ranks_MAJOR = []; Ranks_COLONEL = []; _playerUID = getPlayerUID player; //get player UID //check to see if our player matches switch (true) do { case (_playerUID in Ranks_CORPORAL) : { player setRank "CORPORAL"; }; //setRank to CORPORAL for everyone in the CORPORAL list. case (_playerUID in Ranks_SERGEANT) : { player setRank "SERGEANT"; }; case (_playerUID in Ranks_LIEUTENANT) : { player setRank "LIEUTENANT"; }; case (_playerUID in Ranks_CAPTAIN) : { player setRank "CAPTAIN"; }; case (_playerUID in Ranks_MAJOR) : { player setRank "MAJOR"; }; case (_playerUID in Ranks_COLONEL) : { player setRank "COLONEL"; }; default { player setRank "PRIVATE"; }; //setting default rank for all others }; 7. Add the UIDs as per the example in script. Note no trailing comma for each ID line and don't forget the quotes for each ID. This is important. You can now repack your epoch.(Map) folder to pbo, Although most servers will run with it unpacked for testing. No BE Script adjustments needed as far as my testing. Ranks is based from hambeast's original script example responce from Please send a like if you enjoy this script!
  3. Swash

    setRank script

    I've been trying to find helpful information about setRank, but everything I found is vague or relies on global channel being active. Does anyone have any idea how I can set group rank on login? Maybe a BEC script to set a player's group rank based on ID? Or mission script? Any help or gentle nudging in the right direction would be most appreciated.
×
×
  • Create New...