Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
so u probably dont need to put [] around the _units variable
try it like this
CuratorModule addCuratorEditableObjects [_units, true];
Because as it seems right now your putting an array inside an array
thanks man!
Glad I could help!
_spawn = [getMarkerPos objMarkerMain, 5000, 20000, 0, 0, 0, 0, [Player, 2000], []] call BIS_fnc_findSafePos; // get position to spawn
_helicopter = createVehicle ["0_Heli_Light_02_unarmed_F", _spawn, [], 0, "FLY"]; // spawn heli
_Crew = createVehicleCrew _helicopter; // create crew
_Group = [_spawn, EAST, (configfile >> "CfgGroups" >> "East" >> "OPF_F" >> "Infantry" >> "OIA_InfSquad")] call BIS_fnc_spawnGroup; // spawn group
{_x moveInCargo _helicopter} forEach units _Group; // move group into heli
_units = units _Group;
_units append (units _Crew);
CuratorModule addCuratorEditableObjects [_units, true]; // add units to zeus
heres my code
https://ibb.co/XJXKf0Y
heres the error
i know it has something to do with the _spawn variable, but i added the rest of the script for some context of whats going on