JoeyCare
Member-
Content Count
10 -
Joined
-
Last visited
-
Medals
Community Reputation
1 NeutralAbout JoeyCare
-
Rank
Private
-
Need help with a 'Wave spawn' script with custom loadouts
JoeyCare replied to JoeyCare's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Oh, just me being stupid. Thanks a lot for the help! How would i go about if i wanted the units to dissappear when they die? Would that require a lot of extra coding? -
Need help with a 'Wave spawn' script with custom loadouts
JoeyCare replied to JoeyCare's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Oh, I see! Thanks, that clears up a lot! I managed to get the script working, although it doesn't seem to spawn a unit squad with the: _grp = [_spawnpos, WEST, (configfile >> "CfgGroups" >> "West" >> "BLU_F" >> "BUS_InfAssault"),[],[],[0.25,0.4]] call BIS_fnc_spawnGroup; but when i use an amount of characters to spawn it works.. _grp = [_spawnpos, EAST,5,[],[],[0.25,0.4]] call BIS_fnc_spawnGroup; -
Need help with a 'Wave spawn' script with custom loadouts
JoeyCare replied to JoeyCare's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Haha yeah, I've been using the wiki extensively. I get what the magic variable does, but could you explain how it gets the variables without being mentioned above in the code? For example: removeAllAssignedItems _x; would remove all the assigned items to the group that is being spawned, but how does _x know that it's linked to the group, and where does that happen in the script? -
Need help with a 'Wave spawn' script with custom loadouts
JoeyCare replied to JoeyCare's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Okay, I'm fairly new to using magic variables and don't quite understand them. Can you explain how I would fix this problem? What does it mean that _x is not initialized? -
Need help with a 'Wave spawn' script with custom loadouts
JoeyCare posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Me and a friend are making a custom map kind of like a MOBA. I've just started scripting so im still very new to all this. So I've been doing the scripting, and my buddy does level design inside the editor. I've just started on a script that spawns a team on each side every 60 seconds, and sends them over to the other side. I wanted the units to have a custom loadout, and also despawn when killed so you can't loot their weapons. So I've been compiling some code that I've found on google, and tried my best to customize it to my use, but I'm getting errors. Here's my code so far: [] spawn { for "_i" from 0 to 1000 do { _spawnpos = getMarkerPos "respawn_east"; _spawnpos = [_spawnpos, 1, 20, 3, 0, 20, 0] call BIS_fnc_findSafePos; _grp = [] call compile format ["%1 = [, EAST, (configfile >> ""CfgGroups"" >> ""East"" >> ""OPF_F"" >> ""infantry"" >> ""OIA_InfTeam""),[],[], [0.25,0.4], [0.1,0.1]] call BIS_fnc_spawnGroup; %1",_x]; { removeAllAssignedItems _x; removeAllWeapons _x; removeAllContainers _x; _x addVest "V_BandollierB_khk"; _x addMagazines ["30Rnd_65x39_caseless_green", 3]; _x addWeapon "arifle_Khaybar_F"; }; _wp = _grp addWaypoint [getMarkerPos "moveMarker_east", 0]; _wp setWaypointType "SEARCHANDDESTROY"; _wp setWaypointSpeed "FULL"; sleep 60; }; }; The errors I'm getting are: \...[0.1,0.1]] call BIS_fnc_spawnGroup; %1,|#|_x]; { removeAllAssignedItems _x; remove...' Error Undefinded variable in expression: _x File C:\...\functions\fn_spawnWestGroup.sqf, line 14 Anyone have some tips for a newbie, and care to explain why it's not working? -
I made a video tutorial series for the Eden Editor
JoeyCare replied to sic-disaster's topic in ARMA 3 - GENERAL
Great man. There's a shortage of video tutorials on arma 3. Do you have any scripting experience in SQF? Just getting started in SQF, and would love for more video tuts on that. -
Arma 3 one of the top grossing games of 2016!
JoeyCare replied to Rich_R's topic in ARMA 3 - GENERAL
I would love it if they pooled all that money in for Arma 4. That hype man. -
It's probably possible to script that. Maybe even make a small mod. Anyone with SQF skills care to pitch in?
-
Nice dude, I like how you incorporated the 'real' IR footage. Liking the soundtrack of the first one too. ;)
-
Probably 'through the jungle'. Loving the apex soundtrack so far!