Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
/*%FSM<STATE "Region_Selection">*/
class Region_Selection
{
name = "Region_Selection";
init = /*%FSM<STATEINIT""">*/"dayz_selectRegion = 9;" \n
"1 cutText ["""", ""BLACK"",0];" \n
"endLoadingScreen;" \n
"createDialog ""RscDisplaySpawnSelecter"";"/*%FSM</STATEINIT""">*/;
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
class Links
{
/*%FSM<LINK "Selected">*/
class Selected
{
priority = 0.000000;
to="Process_1";
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"!dialog"/*%FSM</CONDITION""">*/;
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
};
/*%FSM</LINK>*/
};
};
/*%FSM</STATE>*/
/*%FSM<STATE "Process_1">*/
class Process_1
{
name = "Process_1";
init = /*%FSM<STATEINIT""">*/"_spawnSelection = dayz_selectRegion;"/*%FSM</STATEINIT""">*/;
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
class Links
{
/*%FSM<LINK "Hive_Ok">*/
class Hive_Ok
{
priority = 0.000000;
to="Phase_One";
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"true"/*%FSM</CONDITION""">*/;
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
};
/*%FSM</LINK>*/
};
};
if (_spawnSelection == 9) then {
@Dayz\Addons\dayz_code\Configs\RscDisplay\RscDisplaySpawnSelecter.hpp
It's called from
@Dayz\Addons\dayz_code\system\player_monitor.fsm
Code:/*%FSM<STATE "Region_Selection">*/ class Region_Selection { name = "Region_Selection"; init = /*%FSM<STATEINIT""">*/"dayz_selectRegion = 9;" \n "1 cutText ["""", ""BLACK"",0];" \n "endLoadingScreen;" \n "createDialog ""RscDisplaySpawnSelecter"";"/*%FSM</STATEINIT""">*/; precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/; class Links { /*%FSM<LINK "Selected">*/ class Selected { priority = 0.000000; to="Process_1"; precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/; condition=/*%FSM<CONDITION""">*/"!dialog"/*%FSM</CONDITION""">*/; action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/; }; /*%FSM</LINK>*/ }; }; /*%FSM</STATE>*/ /*%FSM<STATE "Process_1">*/ class Process_1 { name = "Process_1"; init = /*%FSM<STATEINIT""">*/"_spawnSelection = dayz_selectRegion;"/*%FSM</STATEINIT""">*/; precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/; class Links { /*%FSM<LINK "Hive_Ok">*/ class Hive_Ok { priority = 0.000000; to="Phase_One"; precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/; condition=/*%FSM<CONDITION""">*/"true"/*%FSM</CONDITION""">*/; action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/; }; /*%FSM</LINK>*/ }; };
And if you change the number of spawnpoints you will also have to edit server pbo\compile\server_playerSetup.sqf
Code:if (_spawnSelection == 9) then {