Skip to content

Commit 03c3e42

Browse files
committed
final bugs and tweaks
1 parent e08cbc6 commit 03c3e42

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

addons/overthrow_main.pbo

-37 Bytes
Binary file not shown.

addons/overthrow_main/functions/AI/orders/fn_squadGetOut.sqf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
_x disableCollisionWith _vehicle;// Sometimes units take damage when being ejected.
1717
_x addBackpackGlobal "B_parachute";
1818
unassignVehicle _x;
19+
moveOut _x;
1920
_x action ["Eject",_vehicle];
2021
_x setDir (_dir + 90);// Exit the chopper at right angles.
2122
sleep 1;

addons/overthrow_main/functions/actions/fn_talkToCiv.sqf

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ if (_canGangJob) then {
125125
params ["_gangid","_gang","_name"];
126126
private _talk = ["Do you want to join the resistance?"];
127127
private _civ = OT_interactingWith;
128-
private _town = (getpos player) call OT_fnc_nearestTown;
128+
private _town = _gang select 2;
129129
private _support = [_town] call OT_fnc_support;
130130
private _code = {};
131-
if(_support > 100) then {
131+
if(_support >= 100) then {
132132
_talk pushback format["We've heard good things about what you've been doing. I guess we're in"];
133133
_talk pushback "Good to have you on board";
134134
_code = {
@@ -142,8 +142,7 @@ if (_canGangJob) then {
142142
_gangoptions = [];
143143
_gangoptions pushBack [
144144
"Offer $5000",{
145-
params ["_town","_gangid","_gang","_name"];
146-
private _civ = OT_interactingWith;
145+
params ["_civ","_town","_gangid","_gang","_name"];
147146
private _cash = player getVariable ["money",0];
148147
if(_cash >= 5000) then {
149148
[

addons/overthrow_main/ui/dialogs/resistance.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class OT_dialog_garrison
233233
y = 0.291 * safezoneH + safezoneY;
234234
w = 0.0567187 * safezoneW;
235235
h = 0.077 * safezoneH;
236-
action = "[getpos player,13] spawn OT_fnc_addGarrison";
236+
action = "[getpos player,12] spawn OT_fnc_addGarrison";
237237
};
238238
class RscButton_1603: RscOverthrowButton
239239
{

0 commit comments

Comments
 (0)