mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 09:29:21 +03:00
- Moved player_countMagazines to \compile\ folder - Removed several unused and obsolete files - Moved some epoch functions out of compiles.sqf into individual files - Synced order and formatting with 1.8.7. Much easier to compare now. Any changes I make to official DayZ Mod code and files I also submit as a pull request to them.
15 lines
460 B
Plaintext
15 lines
460 B
Plaintext
private ["_object","_position"];
|
|
_object = _this select 3;
|
|
|
|
//Kneel Down
|
|
player playMove "amovpknlmstpslowwrfldnon_amovpercmstpsraswrfldnon";
|
|
waitUntil { animationState player != "amovpknlmstpslowwrfldnon_amovpercmstpsraswrfldnon"};
|
|
|
|
//_object setpos _position;
|
|
_object setvectorup [0,0,1];
|
|
|
|
// Alert Zombies
|
|
[player,20,true,(getPosATL player)] call player_alertZombies;
|
|
|
|
// Added Nutrition-Factor for work
|
|
["Working",0,[20,40,15,0]] call dayz_NutritionSystem; |