Freddan962
Member-
Content Count
75 -
Joined
-
Last visited
-
Medals
Everything posted by Freddan962
-
Why don't this work? (gives a this undefined expression error)
Freddan962 replied to Freddan962's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thank you a lot! :) -
Why don't this work? (gives a this undefined expression error)
Freddan962 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
clearWeaponCargoGlobal this; ClearMagazineCargoGlobal this; Trying to call it in a seperate sqf file. Gives me this error: Error undefined variable in expression: this -
Why don't this work? (gives a this undefined expression error)
Freddan962 replied to Freddan962's topic in ARMA 3 - MISSION EDITING & SCRIPTING
So lets say I have 100 ammo boxes, do I need 100 different names for each one of those to execute this script? -
How to use Firefight Improvement System in COOP?
Freddan962 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, How do I use this addon in Multiplayer? Is it possible? http://forums.bistudio.com/showthread.php?161738-Fire-Fight-Improvement-System Thanks! -
How to use Firefight Improvement System in COOP?
Freddan962 replied to Freddan962's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Bumpo -
How to disable UPSMON AI behavior but keep the "fortify" (functions)?
Freddan962 posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi, So I want to disable the way the AI is "improved" but keep the features of fortify etc. to use it with Zeus AI. How would I do this? Thanks! :) -
How do I disable the respawn button? I've looked into the configuration file. Can't seem to find anything.
-
Need help - Script does not execute
Freddan962 posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hello, I've made a mission and a script but for some reason the script doesn't want to execute. spawn.sqf hint "Script has been executed"; _counter = 0; for "_counter" from 1 to 10 do { _x = floor(random 25); _y = floor(random 50); _xx = floor(random 50); switch (_x) do { case 1: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 2: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 3: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 4: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 5: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 6: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 7: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 8: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 9: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 10: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 11: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 12: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 13: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 14: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 15: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 16: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 17: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 18: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 19: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 20: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 21: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 22: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 23: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; case 24: {"USMC_Soldier_AA" createUnit [getMarkerPos "bluefor"]}; }; _counter = _counter + 1; }; init.sqf [] execVM "spawn.sqf"; Project files: http://filebeam.com/fdff362cc0f3f25454b332199b2a5904 I know it's badly written but it's just a placeholder while trying to figure this out. Please help me, I'd be grateful! :) -
Need help - Script does not execute
Freddan962 replied to Freddan962's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Still doesn't work =/ -
Need help - Script does not execute
Freddan962 replied to Freddan962's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I used your code and it still didn't execute. Also, I have the show script error parameter but it doesn't show any. Grateful for more help! :) -
Need help - Script does not execute
Freddan962 replied to Freddan962's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
More or less code wouldn't matter if it doesn't want to execute. -
Need help - Script does not execute
Freddan962 replied to Freddan962's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Edited, issue persists :< -
Need help - Script does not execute
Freddan962 replied to Freddan962's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I don't need help with the code, as of right now, however I don't understand why the script (spawn.sqf) isn't executing. -
How to convert 3D editor file to 2D editor file?
Freddan962 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, How do I convert the .beidi (3D editor file) into a usable 2D editor file? Cheers, Fred. -
Execute script on trigger?
Freddan962 replied to Freddan962's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Doesn't work for me. "Type Script expected nothing" Haha, sorry, forgot the null = part. Cheers! :) -
Hello, How would I execute a script whenever a trigger triggers?
-
Hello, How do I format to an object? This is my script: for "_i" from 0 to 100 do { _rand = floor (random 15); _object = format [b_%1, _rand]; _bomb = "M_Mo_82mm_AT_LG" createVehicle format (getPos _object); deletevehicle _object; _i = _i + 1; sleep 2.0; } It expects an object type but gets a string, please help me! Cheers, Fred.
-
A3 Editor Tutorials
Freddan962 replied to samsamm777's topic in ARMA 3 - MISSION EDITING & SCRIPTING
If you could make a tutorial regarding some sort of information saving system with SQL that'd be sweet! :) -
Format object?
Freddan962 replied to Freddan962's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Bumpy -
Saving system for arma 3?
Freddan962 replied to Freddan962's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Does it work for Arma 3? Yes. Cheers! :) -
Hello, I'd like to be able to use SQL with Arma 3 if it's possible. How would I do this? And if it isn't, what way of saving and loading information should I use? Cheers, Fred.
-
Saving system for arma 3?
Freddan962 replied to Freddan962's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Bringing up my post. -
Got it working!
-
Need help to finish this script! :)
Freddan962 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, I'm stuck in a point where I don't know what to do to complete this. This is my script: if((rankId player >= 4) and (alive player)) then { hint format ["Group(s) spawned: %1", g_UnitSpawnedI]; for "g_UnitSpawnedI" from 1 to g_UnitSpawnedI do { _rUnit = ["O_soldier_SL_F","O_soldier_TL_F","O_soldier_AR_F", "O_soldier_GL_F", "O_soldier_LAT_F", "O_soldier_TL_F", "O_soldier_AR_F", "O_soldier_GL_F", "O_soldier_F", "O_medic_F"] call BIS_fnc_selectRandom; UnitGroupName = [getMarkerPos "Spawn_1", east, [_rUnit,[],[],[],[],[],180]] call BIS_fnc_spawnGroup; UnitGroupName addwaypoint[getMarkerPos "Bluefor", 0]; [unitGroupName, 0] setwaypointCombatMode "RED"; [unitGroupName, 0] setWaypointSpeed "FULL"; hint format ["%1", _rUnit]; g_UnitSpawnedI = g_UnitSpawnedI + 1; }; } else { hint "You don't have the permission."; }; It says that it's expecting a group to set a waypoint. How would I get this running with all my newly spawned units? -
Radio or loudspeakers (as object) playing custom music
Freddan962 replied to Slammin's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Could you give me a example of your script and the description.ext edit? Cheers, Fred!