Experience true combat gameplay in a massive military sandbox. Authentic, diverse, open - Arma 3 sends you to war.
New to Feedback Tracker or just not sure what to do?
Arma 3 Feedback Tracker "How To" Guide
Experience true combat gameplay in a massive military sandbox. Authentic, diverse, open - Arma 3 sends you to war.
New to Feedback Tracker or just not sure what to do?
Arma 3 Feedback Tracker "How To" Guide
Ideally all similar magazine detail commands should get this improvement, presumably not as main syntax for back compat but as an alt syntax.
This needs new animation files which most likely won't happen at this stage of development.
Similar problem. There is a solution?
allObject is just that all objects would be strange to call it all objects and remove some objects the engine collections already include. But what you ask if for the getter to SPECIFICALLY return out of world objects and ONLY out of world objects. I won’t add that. Using other vehicle commands on backpack you know is a vehicle makes sense, but ok, you can still do it via storing a variable on backpack.
In summary, I'm against changing existing commands to also handle one specific case of being run on backpacks. Its already possible to do everything you want with packed static\drone, just requires some tricks, this command should have made it clear and easy to do that.
In T171260#2424804, @BIS_fnc_KK wrote:the vehicle is removed from world when it is packed I dont want to make a specific getter for asset that is not supposed to be exposed with api. The fact that it is available via variable reference was overlooked but due to back compatibility would now remain. I am actually trying to make it usable by wider user base, set/getVehicleAmmo is a good example. I can add that and god knows when I will be around that part of the code again, so if you give the list I can do it in one go
I don't get this argument what so ever, even if out vehicles aren't simulated or shouldn't be operated with some scripting commands, so what? And its not like this is arbitrary code execution level security issue, just a matter of entity being limited while hidden. Lets forbid allObjects from returning out vehicles too then, what if user deletes a vehicle from there and ends up getting an RPT error? There are already myriad of ways to break\lag\freeze\crash the game with scripting already, by the nature of modding.
the vehicle is removed from world when it is packed I dont want to make a specific getter for asset that is not supposed to be exposed with api. The fact that it is available via variable reference was overlooked but due to back compatibility would now remain. I am actually trying to make it usable by wider user base, set/getVehicleAmmo is a good example. I can add that and god knows when I be around that part of the code again, so if you give the list I can do it in one go
Did tests for all possible combination, works properly. Shitty test code:
if(!isNil"markers") then {{deleteMarker _x} forEach markers;}; markers = []; if(!isNil"objects") then {{deleteVehicle _x} forEach objects}; objects = []; if(!isNil"locations") then {{deleteLocation _x} forEach locations}; locations = []; positions = []; if(isNil"testgroups") then {{{deleteVehicle _x} forEach units _x; deleteGroup _x} forEach testgroups}; testgroups = [];
Preloading the UI is a valid workaround for this bug. In my example I preloaded the UI in a display and closed that display immediately afterwards. This seems to be fast enough so the player doesn't recognize the preloading:
You can do a lots of things with a packed drone\static - repair, refuel, change weapons and magazines, get\set variables, altering a single command to have special handling case for backpacks is not the way. Returning object off backpack can also tell you if backpack was assembled before.
In fact it doesnt matter if it is unitBackpack or backpackcontainer or a variable with reference to backpack, it matters what you gonna use it for, like I said for setVehicleAmmo I can make it to look for the vehicle and rearm it. So my question stands, what other commands you want to use on backpack vehicle
Do you suggest having unitBackpack return assembled vehicle instead of backpack entity?
In T171260#2424746, @BIS_fnc_KK wrote:Sure I can. Would this be enough?
Sure I can. Would this be enough? any other commands you want to use on assembled vehicle apart from setVehicleAmmo?
In T171260#2424744, @BIS_fnc_KK wrote:I can make it rearm with
unitBackpack player setVehicleAmmo 1;
I can make it rearm with
Simplest application example - rearming static weapons\drones when they're in backpack form:
getBackpackVehicle unitBackpack player setVehicleAmmo 1;
What is the use case? How would this benefit wider audience?
When you dissemble the drone or static weapon, it doesn't get deleted but gets hidden and link to that entity is stored in the backpack, the command should return that link. When you spawn assemblable backpack it doesn't spawn associated drone\static right away but only when you assemble it the first time.
Now you lost me
In T171260#2424736, @BIS_fnc_KK wrote:getBackpackVehicle unitBackpack player
unitBackpack is null when weapon is assembled
getBackpackVehicle unitBackpack player
I finally understood your issue.
The UI2Texture fix the latest profiling build 2.12.150430 does not solve my problem.
I think my ticket (https://feedback.bistudio.com/T171035) is related to the behavior mentioned here. In my case it's not a nested UI but only a static image. I tested the latest profiling build 2.12.150430 but unfortunately this does not solve my variant of the problem.
Did some tests, works great!
In T171272#2424697, @kju-PvPscene wrote:Would this also help with textures used by UI, particles or even game assets?
Like one can force preloading via config (PreloadConfig and PreloadTextures) - aka would be good to have also via mission desc.ext or scripting (best).
Would this also help with textures used by UI, particles or even game assets?