mirror of
https://github.com/Ignatz-HeMan/Ignatz_Tools.git
synced 2024-08-30 16:12:11 +00:00
Private Workaround
This commit is contained in:
parent
0219ac3cd9
commit
5d3a6b1199
@ -1,11 +1,12 @@
|
||||
_allobj = (allmissionobjects "") select {!(isplayer _x) && !(_x iskindof "logic") && !(_x iskindof "CamCurator") && !(_x iskindof "CBA_NamespaceDummy") && !(_x iskindof "MAN")};
|
||||
_allobj = (allmissionobjects "") select {!(isplayer _x) && !(_x iskindof "logic") && !(_x iskindof "CamCurator") && !(_x iskindof "CBA_NamespaceDummy") && !(_x iskindof "MAN") && !(_x iskindof "Bird") && !(_x iskindof "ThingEffect") && !((typeof _x) isEqualTo "#mark")};
|
||||
_offset = 0;
|
||||
ExportObjects = [];
|
||||
{
|
||||
_pos = getposWorld _x;
|
||||
_pos set [2,(_pos select 2)+_offset];
|
||||
_type = typeof _x;
|
||||
if (_type isequalto "") then {
|
||||
_type = _x;
|
||||
if (_type isequalto "" || (_type find "_IG_Workaround" > -1)) then {
|
||||
_type = (getmodelinfo _x) select 1;
|
||||
};
|
||||
_obj = [_type,_pos,getdir _x,[vectorDir _x, vectorup _x]];
|
||||
ExportObjects pushback _obj;
|
||||
|
@ -1,12 +1,12 @@
|
||||
_allobj = (allmissionobjects "") select {!(isplayer _x) && !(_x iskindof "logic") && !(_x iskindof "CamCurator") && !(_x iskindof "CBA_NamespaceDummy") && !(_x iskindof "MAN")};
|
||||
_allobj = (allmissionobjects "") select {!(isplayer _x) && !(_x iskindof "logic") && !(_x iskindof "CamCurator") && !(_x iskindof "CBA_NamespaceDummy") && !(_x iskindof "MAN") && !(_x iskindof "Bird") && !(_x iskindof "ThingEffect") && !((typeof _x) isEqualTo "#mark")};
|
||||
_offset = 0;
|
||||
_ExportObjects = [];
|
||||
{
|
||||
_pos = getposWorld _x;
|
||||
_pos set [2,(_pos select 2)+_offset];
|
||||
_type = typeof _x;
|
||||
if (_type isequalto "") then {
|
||||
_type = _x;
|
||||
if (_type isequalto "" || (_type find "_IG_Workaround" > -1)) then {
|
||||
_type = (getmodelinfo _x) select 1;
|
||||
};
|
||||
_obj = [_type,_pos,getdir _x,[vectorDir _x, vectorup _x]];
|
||||
_ExportObjects pushback _obj;
|
||||
|
Loading…
Reference in New Issue
Block a user