CombinedArmsGaming / F3_CA

Combined Arms version of the F3 Framework
7 stars 9 forks source link

Zeus functionality #20

Closed Bubbus closed 6 years ago

Bubbus commented 6 years ago

Tried to pull-req to a new branch, haven't found out how so I'm pointing this at master instead. Can re-request to a staging branch if you create one, just hit me up.

Adds new things for Zeuses:

To use:

Put this in the init field of a player unit:

[this, true, true] call ca_fnc_registerZeusPlayer;

Where arg#2 is gearscript spawner toggle on/off and arg#3 is teleporting toggle on/off. Godmode is applied by default when this function is called.

To configure the gearscript spawner, edit ca\zeus\zeus_ui\fn_zeusSetupUnits.sqf. Comments added as guidance.

Potential future improvements: