Skip to content

Safe Start

shadow-fa edited this page Mar 18, 2019 · 3 revisions
File location f\safeStart
Enabled by default? Yes
Enable/Disable in init.sqf, description.ext
Runs on server/client

During the initial setup and planning phase of a mission, it may be helpful to prevent accidental friendly firing and team killing.

This component works by preventing players from damaging each other by setting players invulnerable for that time A timer will be displayed as a notification for all players during the start of a mission. The timer will count down until it reaches zero, then players will be able to resume firing.

Modifying the timer's values

Open the file description.ext, look for the following lines: Open description.ext and find the following text:

class f_param_mission_timer
{
    title = "$STR_f_param_mission_timer";
    values[] = {0,30,60,90,120,150,180,240,300,360,420,480,540,600,900};
    texts[] = {"$STR_f_param_mission_timer_off","0.5","1","1.5","2","2.5","3","4","5","6","7","8","9","10","15"};
    default = 60;
};

Changing the default timer value

In the above text, change the default value from 60 to any other value from the values[] array. This defines the number of seconds that the safe start is active. Note that the values can only be integers (whole numbers).

Note: For more information on modifying parameters see: https://community.bistudio.com/wiki/Arma_3_Mission_Parameters and https://community.bistudio.com/wiki/Description.ext

Disabling

If you want to disable this component entirely, set the default value to 0.

Clone this wiki locally