Replace createVehicleCrew with fn_createCrew#963
Replace createVehicleCrew with fn_createCrew#963PiG13BR wants to merge 19 commits intoKillahPotatoes:v0.96.8from
Conversation
Add fn_createCrew
Add fn_createCrew
Add fn_createCrew
Add fn_createCrew
|
Most presets don't have pilots and crew defined yet - maybe add some logic inside the function to default to something if they're not defined? I was thinking rifleman for crew at the very least. |
|
Yes, I can do that for now, but I could also add those variables on the other presets aswell, it's boring but I can do it with time. Tell me if this is worth it so I can manage my time to add them. |
|
Done. I've put the placeholder types of crew that already exist on presets for each side. |
- Add BIS_fnc_vehicleCrewTurrets to simplify the script. - Removed the MPKilled event (createManagedUnit already add this event) Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
Adapted from main KP-Liberation PR. Only edits were to adjust the player custom.sqf file as we use our own array setup. As the original PR says, we'll need to add the new variables in presets (KPLIB_o_crewman, KPLIB_o_pilot, KPLIB_b_crewStatic). More info here: KillahPotatoes#963 Co-Authored-By: Filip Maciejewski <4293906+veteran29@users.noreply.github.com> Co-Authored-By: PiG13BR <170875982+pig13br@users.noreply.github.com>
There was a problem hiding this comment.
Could we nix this change? It's out of scope and covered by #970
|
Last time that I tested this, |
Description:
Content:
Successfully tested on: