Jump to content

Michael W Powell

Member
  • Content Count

    4
  • Joined

  • Last visited

  • Medals

Community Reputation

2 Neutral

About Michael W Powell

  • Rank
    Rookie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I am surprised no one has asked the question. There is a LINQ for JavaScript, and even with the nuances and inconsistencies in the Arma 3 SQF specification, and it seems to me as though SQF is at least a neighbor if not a cousin of JavaScript. There are times when it seems like it might benefit from LINQ. Particularly with the ability to easily ad-hoc functions and such. Thoughts?
  2. Hello, I am modifying KP Liberation and I want to place a "captured" civilian unit (loosely speaking) in sitting position once he's entered the FOB area. The trouble is, a whole unit of captured civilians, not just one, could be brought in. I do not know in what passenger seats they will be, they may be ACE unloaded and escorted, or they may be vanilla commanded out of the vehicle(s) and unit commanded into the FOB building. After awhile, however, I want them to land in, I think it is, AidlPsitMstpSnonWnonDnon_ground00. Or maybe say it a better way, when the unit is free and clear from being handled, however he is being handled, I want him to land in the sitting position.
  3. Michael W Powell

    How to place units inside a storage container

    Something not unlike this. It works quite well actually: _container = nearestObjects [player, ["Land_Cargo20_brick_red_F"], 50] select 0; _container_pos = getPos _container; _x_pos = [_container_pos select 0, _container_pos select 1, (_container_pos select 2) + 0.1]; { if (_x != player) then { _x setPos _x_pos; }; } forEach nearestObjects [player, ["man"], 25];
  4. Hello, I have identified the container(s) I want to use, the ones with actionable doors, can be opened or closed. I have also created the unit(s) I want to place inside said container(s). Now I am looking for a way to actually do that. At least without killing them. My objective there is to introduce a Human Trafficking Liberation secondary objective to KP Liberation. Player objective: free the captured civilians, they will be placed in a surrendered posture inside a storage container. I want to place perhaps 5-6 of them inside one container. I've had some early indicators of partial success, but I need to pull the effort in a little, spawn the container closer to FOB where I can actually inspect what is going on without visiting the site, that sort of thing. The progress I have made thus far, the mission spawns in, but the units are being killed somehow. Anyway, just need a couple of pointers concerning unit placement inside of these container objects. Thanks! Cheers, Cpt Powell (22nd MEU SOC)
×