mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
set default navigation type
This commit is contained in:
parent
fd8a55addf
commit
5cd61d1301
@ -70,6 +70,11 @@ if (isNil "_navigationType" || {!(_navigationType in (getArray (_config >> "navi
|
||||
_navigationType = getText (_config >> "defaultNavigationType");
|
||||
};
|
||||
|
||||
if (isNil "_navigationType") then {
|
||||
// most missiles use ProNav by default
|
||||
_navigationType = "ProportionalNavigation";
|
||||
};
|
||||
|
||||
// If we didn't get a target, try to fall back on tab locking
|
||||
if (isNil "_target") then {
|
||||
if (!isPlayer _shooter) then {
|
||||
|
Loading…
Reference in New Issue
Block a user