Skip to content

Instantly share code, notes, and snippets.

@maca134
Created April 6, 2016 19:15
Show Gist options
  • Save maca134/51cd12583cc298fbbd74060d8d2b9f62 to your computer and use it in GitHub Desktop.
Save maca134/51cd12583cc298fbbd74060d8d2b9f62 to your computer and use it in GitHub Desktop.
private _traders = [];
{
_traders pushBack [
typeOf _x,
(_x get3DENAttribute 'face') select 0,
["HubStanding_idle1"],
getPosATL _x,
getDir _x
];
} forEach ((get3DENSelected "group") apply {units _x select 0});
private _objects = [];
{
_objects pushBack [
typeOf _x,
getPosATL _x,
getDir _x,
true
];
} forEach (get3DENSelected "object");
private _output = [_traders, _objects];
copyToClipboard str _output;
_output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment