Created
June 30, 2018 10:27
-
-
Save dedmen/30c060dac12a2a6e9e9d1cd18cba8a81 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"#line 1 ""x\cba\addons\common\fnc_getPos.sqf"" | |
#line 1 ""x\cba\addons\common\script_component.hpp"" | |
#line 1 ""x\cba\addons\main\script_mod.hpp"" | |
#line 1 ""x\cba\addons\main\script_version.hpp"" | |
#line 6 ""x\cba\addons\main\script_mod.hpp"" | |
#line 2 ""x\cba\addons\common\script_component.hpp"" | |
#line 1 ""x\cba\addons\main\script_macros.hpp"" | |
#line 1 ""x\cba\addons\main\script_macros_common.hpp"" | |
#line 1 ""x\cba\addons\main\script_macros.hpp"" | |
#line 13 ""x\cba\addons\common\script_component.hpp"" | |
#line 1 ""x\cba\addons\common\fnc_getPos.sqf"" | |
scriptName 'cba\common\getPos'; | |
params [ | |
[""_entity"", objNull, [objNull, grpNull, """", locationNull, taskNull, [], 0]] | |
]; | |
switch (typeName _entity) do { | |
case ""OBJECT"": { | |
getPos _entity | |
}; | |
case ""GROUP"": { | |
getPos (leader _entity) | |
}; | |
case ""STRING"": { | |
getMarkerPos _entity | |
}; | |
case ""LOCATION"": { | |
position _entity | |
}; | |
case ""TASK"": { | |
taskDestination _entity | |
}; | |
case ""ARRAY"": { | |
+ _entity | |
}; | |
case ""SCALAR"": { | |
+ _this | |
}; | |
}; | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment