Skip to content

I've added safe spawns and've safely tested them ;) - the files are attached. #156

Description

@TuxuHolyland

Hi,
regarding my previous post: "Manned APC Spawned inside Command building"
#153

I've tried to fix that spawn issue in "request_vehicle.sqf" and "request_squad.sqf" into safe spawning by using BIS_fnc_findSafePos and by changing:

_spawnPos = getpos player;
_spawnPos = [(_spawnPos select 0)+30, _spawnPos select 1];

into this:
request_vehicle.sqf:

//_spawnPos = getpos player; Blocked by Tuxu
_spawnPos = [getpos hq_blu1, 100, 250, 20, 0, 20, 0] call BIS_fnc_findSafePos; //changed by tuxu
_spawnPos = [(_spawnPos select 0)+30, _spawnPos select 1];

"request_squad.sqf":

//_spawnPos = getpos hq_blu1; blocked by Tuxu
_spawnPos = [getpos hq_blu1, 80, 250, 20, 0, 20, 0] call BIS_fnc_findSafePos;
_spawnPos = [(_spawnPos select 0)+15, _spawnPos select 1];

I wasn't sure about upping those into the build so I won't mess up something for you, also - I was trying to adhere to your own style of coding to make your life easier with my intervention.
Also - I've commented to make it easier to find my edits.

I hope this helps,

Regards.

dialog.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions