Jump to content


  • Content count

  • Joined

  • Last visited

  • Medals

Community Reputation

850 Excellent

About killzone_kid

  • Rank
    Chief Warrant Officer

Profile Information

  • Gender
    Not Telling

Contact Methods

  • Biography
  1. vehicle player removeWeapon "Gatling_30mm_Plane_CAS_01_F"; vehicle player addMagazine "magazine_Fighter01_Gun20mm_AA_x450"; vehicle player addWeapon "weapon_Fighter_Gun20mm_AA"; Then press F several times to select it
  2. Great, just don't come back and ask why other people cannot see the weapons you put in the box, mmk?
  3. Scripting Discussion (dev branch)

    Still, you need some kind of default value for each param. So why not at least check if the action id exists and abort if there is no such action, rather than forcing execution no matter what?
  4. Scripting Discussion (dev branch)

    So you have empty array, now what?
  5. Scripting Discussion (dev branch)

    This is a tricky one. I think returning nil was design decision, because the command returns array of a certain format. In cases like this, normally, when it is not possible to obtain the result, a command should return array of the same format but filled with default values (or like [0,0,0] as exception for all positions and vectors). Unfortunatelly returning default values for action params may look like there is an action attached and may produce misleading results. Returning empty array would make sense for collections, but not pre-formatted outputs. If one would not check for existence of a partcular element he tries to access, in case of empty array, this will result in error. So might as well check for the existence of the whole result, because then it will be guaranteed that all array elements are present. I think it is better to mention this on BIKI and be done with it. SQF is not exactly the most consistent scripting language in the world, you know ;)
  6. Scripting Discussion (dev branch)

    I cannot answer that, but I think this was like this for the last 15 years
  7. Scripting Discussion (dev branch)

    I think this is what happening
  8. Scripting Discussion (dev branch)

    I think the only command that works under water is lineIntersectsSurfaces
  9. Not sure you read it properly. It basically says that use addWeaponCargoGlobal instead
  10. https://community.bistudio.com/wiki/addWeaponCargo
  11. Maybe you should try setBehaviour if you want change behaviour https://community.bistudio.com/wiki/setBehaviour
  12. This is not what GOM said. You can make the variable global or even cosmic if you want, but it will still be undefined because task reference returned AFTER the task is created not before or during.
  13. why not use BIS_fnc_taskSetDescription after you set task and know your task id?
  14. This is not a valid string
  15. What about optional azimuth param https://community.bistudio.com/wiki/BIS_fnc_spawnGroup