mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Option to force Gender on Spawn
This commit is contained in:
parent
06a467cd11
commit
3a8b3f3fcd
@ -1295,7 +1295,12 @@ class FSM
|
||||
{
|
||||
name = "Open_Gender_Selection";
|
||||
itemno = 78;
|
||||
init = /*%FSM<STATEINIT""">*/"createdialog ""SelectGender"";"/*%FSM</STATEINIT""">*/;
|
||||
init = /*%FSM<STATEINIT""">*/"_forcegender = [""CfgEpochClient"", ""ForceGender"", """"] call EPOCH_fnc_returnConfigEntryV2;" \n
|
||||
"switch (tolower _forcegender) do {" \n
|
||||
" case ""male"": {EPOCH_PlayerIsMale = true;};" \n
|
||||
" case ""female"": {EPOCH_PlayerIsMale = false;};" \n
|
||||
" default {createdialog ""SelectGender""}" \n
|
||||
"};"/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
{
|
||||
|
@ -17,6 +17,7 @@ class CfgEpochClient
|
||||
epochVersion = "1.3.2";
|
||||
ArmAVersion = 176;
|
||||
debug = "true"; // true = enable extra rpt debug lines, false to disable
|
||||
ForceGender = ""; // Force Players to spawn as "Male" or "Female"
|
||||
|
||||
UseOldRevive = "false"; // Revive / Heal Player has been changed to use "HandleDamage" Eventhandler. If scripts are breaking it for you, set it to true (not recommended!)
|
||||
UnconsciousChance = 30; // Change in percent to get unconscious by a hit with an Axe / Sledge / Sword
|
||||
|
Loading…
Reference in New Issue
Block a user