-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HR and Help refugees task: Less HR is given and the overall HR changes after save #154
Comments
More code about it: 2:51:21 "[AS] 2: spawn 'rescue_refugees_lobaka' finished state 'run'" |
I am not able to reproduce this in SP:
the relevant log is
Isn't the HR reaching its maximum value (16 for level 0) because of the FIA skill restriction? |
Maybe it's that, but the thing is after surpassing the level it might remove all the last increment of HR, can you check that? |
In the scripts which update the HR, FIA resousces etc. is line which compares current HR to maximum HR vie BE module. However the BE module returns the difference from current HR to max HR while the script calling it uses it like it's the absolute max HR allowed. Creates strange outcomes indeed! But it's a quick fix |
Version: develop
Mods: ACE
Mode: MP
Looks like some bug exists between the task "Help refugees" and the HR given after the mission.
After completing the mission not only received less HR for the ppl I saved (8 instead of 10 even though it appeared "HR: +10" in the FIA resources update).
After saving and loading the game, the HR level goes back to the previous number and the task sometimes appears/initializes like it wasn't completed.
CODE:
1:41:01 Error in expression <ssionSuccessfulCondition = {
(not alive _veh) or ({_x getVariable ["BLUFORSpawn">
1:41:01 Error position: <_veh) or ({_x getVariable ["BLUFORSpawn">
1:41:01 Error Undefined variable in expression: _veh
1:41:01 File mission\spawns\fnc_destroy_vehicle.sqf [AS_mission_fnc_destroy_vehicle], line 103
1:41:01 "[AS] Error: AS_mission_fnc_complete: mission 'rescue_refugees_lifou' is not active"
1:41:01 "[AS] 2: spawn 'rescue_refugees_lifou' finished state 'clean'"
1:41:03 Error in expression <able [_variable,false] and {_x distance _reference < _distance}}
} else {
privat>
1:41:03 Error position: <_reference < _distance}}
} else {
privat>
1:41:03 Error Undefined variable in expression: _reference
1:41:03 File fnc_unitsAtDistance.sqf [AS_fnc_unitsAtDistance], line 12
1:41:03 Error in expression <able [_variable,false] and {_x distance _reference < _distance}}
} else {
privat>
The text was updated successfully, but these errors were encountered: