Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion WAI/compile/dynamic_crate.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ _multiArrWep = false;
if !(isNil "_complete") then {
if (typeOf _crate in (crates_large + crates_medium + crates_small)) then {
if (wai_crates_smoke && sunOrMoon == 1) then {
_marker = "smokeShellPurple" createVehicle getPosATL _crate;
_marker = wai_crates_smoke_color createVehicle getPosATL _crate;
_marker setPosATL (getPosATL _crate);
_marker attachTo [_crate,[0,0,0]];
};
Expand Down
2 changes: 1 addition & 1 deletion WAI/compile/on_kill.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if (isPlayer _player) then {
_aitype = if (_unit getVariable ["Hero", false]) then {"Hero";} else {"Bandit";};
_humanityReward = if (_aitype == "Hero") then {format["-%1 Humanity",ai_remove_humanity];} else {format["+%1 Humanity",ai_add_humanity];};
_aiColor = if (_aitype == "Hero") then {"#3333ff";} else {"#ff0000";};
_params = [_aiColor,"0.50","#FFFFFF",-.4,.2,2,0.5];
_params = [_aiColor,"0.50","#FFFFFF",-.4,.2,ai_killfeedTimer,0,0.5];

RemoteMessage = ["ai_killfeed", [_aitype," AI Kill",_humanityReward],_params];
(owner _player) publicVariableClient "RemoteMessage";
Expand Down
Loading