mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +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.
11 lines
183 B
Plaintext
11 lines
183 B
Plaintext
private "_pos";
|
|
|
|
if (isNil {_this select 0}) exitWith {[0,0,0]};
|
|
_thingy = _this select 0;
|
|
_pos = getPosASL _thingy;
|
|
|
|
if !(surfaceIsWater _pos) then {
|
|
_pos = ASLToATL _pos;
|
|
};
|
|
|
|
_pos |