X39 / XMedSys1

2 stars 1 forks source link

DO NOT MERGE #11

Closed michail-nikolaev closed 10 years ago

michail-nikolaev commented 10 years ago

Work on http://feedback.vbundeswehr.de/view.php?id=70

Do you have any idea why is it not working? (dropUnit function work correctly)

michail-nikolaev commented 10 years ago

probably because AnimHandler.....

X39 commented 10 years ago

Will check as soon as im home

X39 commented 10 years ago

how the hell youre able to produce that error Oo the only way i could imagine would be using a second/third person which is putting the unit into a vehicle as the opening of the UI is prevented as soon as the carry state started

michail-nikolaev commented 10 years ago

hm.. if you look to the vehicle and near it is not prevented

X39 commented 10 years ago

carryUnit.sqf sets X39_MedSys_var_PreventGuiOpening = true so that othersInteraction.sqf wont open the UI anymore as a condition wont meet anymore((player == vehicle player) && !(player call X39_MedSys_fnc_isUnitKnockedOut) && !X39_MedSys_var_PreventGuiOpening) so if nothing is wrong at my code side it should not be possible and wasnt in my test

michail-nikolaev commented 10 years ago

@X39 I'll create video for you :)

X39 commented 10 years ago

okay ty

to make the communication ways shorter could you accept the friends request in steam?

X39 commented 10 years ago

important note to myself: you should not just fly over a comment (tried to carry instead of drag a unit)

simple solution to fix another (unreported) issue would be: either setting a variable on the given unit to false if its dragged/carried or checking in a new tick if the dragged/carried unit is inside of a vehicle and the stop it automatically (both method would fix this + interactions of a third guy)