Jump to content

Freddan962

Member
  • Content Count

    75
  • Joined

  • Last visited

  • Medals

Everything posted by Freddan962

  1. clearWeaponCargoGlobal this; ClearMagazineCargoGlobal this; Trying to call it in a seperate sqf file. Gives me this error: Error undefined variable in expression: this
  2. So lets say I have 100 ammo boxes, do I need 100 different names for each one of those to execute this script?
  3. Hello, How do I use this addon in Multiplayer? Is it possible? http://forums.bistudio.com/showthread.php?161738-Fire-Fight-Improvement-System Thanks!
  4. 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! :)
  5. Freddan962

    =BTC= Revive

    How do I disable the respawn button? I've looked into the configuration file. Can't seem to find anything.
  6. 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! :)
  7. 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! :)
  8. More or less code wouldn't matter if it doesn't want to execute.
  9. Edited, issue persists :<
  10. 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.
  11. Hello, How do I convert the .beidi (3D editor file) into a usable 2D editor file? Cheers, Fred.
  12. Freddan962

    Execute script on trigger?

    Doesn't work for me. "Type Script expected nothing" Haha, sorry, forgot the null = part. Cheers! :)
  13. Hello, How would I execute a script whenever a trigger triggers?
  14. 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.
  15. Freddan962

    A3 Editor Tutorials

    If you could make a tutorial regarding some sort of information saving system with SQL that'd be sweet! :)
  16. Freddan962

    Saving system for arma 3?

    Does it work for Arma 3? Yes. Cheers! :)
  17. 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.
  18. Freddan962

    Saving system for arma 3?

    Bringing up my post.
  19. 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?
  20. Could you give me a example of your script and the description.ext edit? Cheers, Fred!
×