Jump to content
Sign in to follow this  
BEAKSBY

respawnButton = 0; not working...help please

Recommended Posts

In my MP game it's not working. THe respawn button is still showing up?

Inside my description.ext

enableDebugConsole = 1;

class CfgFunctions
{
class BEAKS
{
                //...code
};
};

respawn = "BASE";
respawnDelay = 2;
respawnButton = 0; // 0 - to disable respawn button in pause menu
respawnTemplates[] = {"MenuInventory","MenuPosition"};


class Header
{
 gameType = SC;
 minPlayers = 2;
 maxPlayers = 6;
};

class CfgRespawnInventory
{
class WEST1
{ //...more code

I've tried placing it at all locations (above and below in the description)...but no joy.

Share this post


Link to post
Share on other sites

You could use something like this:

if (!isDedicated) then
{
for "_i" from 0 to 1e+1000 do
{
	waitUntil {!isNull (findDisplay 49)};
	((findDisplay 49) displayCtrl 1010) ctrlEnable false;
};
};

Share this post


Link to post
Share on other sites
The reason the "respawnButton" command isn't working is because it doesn't exist according to this page:

https://community.bistudio.com/wiki/Description.ext

I don't have any idea how to fix it, but rakowozz seems to have a good try at it.

DOES anyone know if this is a known issue with BIS.

The Respawn Button

Respawn button in the pause menu is automatically now enabled for INSTANT, BASE, GROUP and SIDE respawn types. You can set its availability manually using following description.ext entry:
is on the ARMA 3: Respawn yet the Description.ext has no mention of it?

Share this post


Link to post
Share on other sites
DOES anyone know if this is a known issue with BIS.

I'm unsure as to whether it is a BIS typo, or just information that wasn't transferred over to the description.ext page, however, the code that Rakowozz has shown above, I just saw in another script of similar caliber, so it should be able to solve your issue.

Share this post


Link to post
Share on other sites

Hi everyone,

can somebody explain me how to use the "Respawn-Camp/Sleeping-Bag - Backpacks" in the editor? :confused:

Share this post


Link to post
Share on other sites
Hi everyone,

can somebody explain me how to use the "Respawn-Camp/Sleeping-Bag - Backpacks" in the editor? :confused:

SHIK4RI, I am unsure on their use, however, this is not the proper thread for such a question, this thread is about the use and function of the command "respawnButton", not about respawning in general, please make sure to search this forum best you can, and if you cannot find anything create your own topic.

But seeing how you are new to the forums here are some links that could possibly help:

http://forums.bistudio.com/showthread.php?181753-Respawn-Tents&highlight=respawn+camp%2Ftent

http://forums.bistudio.com/showthread.php?177400-Respawn-Camps&highlight=respawn+camp%2Ftent

Edited by JShock

Share this post


Link to post
Share on other sites

Hey,

yeah sorry. I joined the "bistudios" just 1 hour ago and I can't find any button to start my own thread? :/

Share this post


Link to post
Share on other sites
Hey,

yeah sorry. I joined the "bistudios" just 1 hour ago and I can't find any button to start my own thread? :/

It's all good and understandable, most of us were in your shoes at some point. Check your private messages for more information on starting a thread.

Share this post


Link to post
Share on other sites
You could use something like this:

if (!isDedicated) then
{
for "_i" from 0 to 1e+1000 do
{
	waitUntil {!isNull (findDisplay 49)};
	((findDisplay 49) displayCtrl 1010) ctrlEnable false;
};
};

Thanks rakowozz, this works. I placed it in the initPlayerLocal.sqf

Just wondering how BIS could miss or apply this simple function?

Share this post


Link to post
Share on other sites

It exists and it works fine. The reason it isn't on the description.ext biki page is because that's user maintained and nobody got around to it

Share this post


Link to post
Share on other sites

Could you please provide a Description.ext of yours where it works? Because it doesn't for me which is why I bumped this thread in the first place.

 

That's what mine looks like:

author                = "Heeeere's Johnny!";
onLoadName            = "Unnamed mission";
onLoadMission        = "Some subtitle";
joinUnassigned        = 1;
respawn                = BASE;
respawnButton        = 0;
respawnDialog        = 1;
respawnDelay        = 5;
disabledAI            = true;
disableChannels[]    = {0,1,2};
enableDebugConsole    = 1;

class Header
{
    gameType    = RPG;
    minPlayers    = 1;
    maxPlayers    = 50;
};

#include "dialogs\DialogHandler.hpp"

class RscTitles
{
    #include "displays\DisplayHandler.hpp"
};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×