bombajack

Remove "RANDOM" selection from list of spawn

1 post in this topic

Hello.

Want you delete RANDOM selection from list of spawn?HERE IS IT!

 

1. Copy from your client @Exile folder file - ExileClient_gui_selectSpawnLocation_show.sqf  (@Exile/addons/exile_client.pbo - unPBO it) ,somewhere in your PC.

2. Edit  ExileClient_gui_selectSpawnLocation_show.sqf   below

Spoiler

if (_numberOfSpawnPoints > 100) then                     ///HERE -- (_numberOfSpawnPoints > 100)-- must be >100 for example NOT 0!
{
    _randNum = floor(random _numberOfSpawnPoints);
    _randData = lbData [24002,_randNum];
    _randomSpawnIndex = _listBox lbAdd "Random";
    _listBox lbSetData [_randomSpawnIndex, _randData];
};

3. Close and save it and create folder in your mission CUSTOM (for example).

4. Copy  ExileClient_gui_selectSpawnLocation_show.sqf  there.

5. Open your config.cpp in your mission and find class CfgExileCustomCode section.

6. Add this 

Spoiler

ExileClient_gui_selectSpawnLocation_show = "custom\ExileClient_gui_selectSpawnLocation_show.sqf";

7.Save it,PBO your mission.

 

DONE.Enjoy.

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.