Kortonki / antistasi_remastered

Dynamic CTI mission for ARMA 3
Other
0 stars 0 forks source link

ACE medical to release medic on patient movement #232

Open Kortonki opened 4 years ago

Kortonki commented 4 years ago

Check for dragging, carrying and loading patient. Maybe make a _medical function out of it

Kortonki commented 4 years ago

Medic got stuck if patient started moving because of using hq heal action

Kortonki commented 4 years ago

needs switchomve "", seems to keep medic sometimes stuck

Kortonki commented 4 years ago

Now releases medic if ace function instablecondition true. Most problems have been medics getting stuck

Kortonki commented 4 years ago

syntax problems now fixed

Kortonki commented 4 years ago

Sometimes assigned medic loops back and forth with healing ready and going to heal

Seems to only happen with medics but not confirmed

Kortonki commented 4 years ago

Was related to not black triaged triggering assigning medic but other conditions to release it afterwards. Assignmedic condition improved

Kortonki commented 4 years ago

New logic to check if patient can be healed.

Flow being like this:

-First the nearest available for bandaging. Cardiac arrest needs a medic, as CPR is useless when only one medic can be assigned to a patient -When not bleeding, non-medics are not requested, thus next possible healer is medic -If unit can be healed, a triage check is made for medics healqueue, so player traige tagging will effect who gets treated first

-Fatal blooldloss is same as black triage

Kortonki commented 4 years ago

Possible needs a check whether unit has bandages

Kortonki commented 4 years ago

Medics still seem to get stuck if patient is healed via other means

Kortonki commented 4 years ago

There's still stucking problem with medics, seems to be when player heals themselves before the medic does.

Also, movement condition should probably be onyl used with unconscious

Kortonki commented 4 years ago

Consider putting a loop for medic at patient release checking for forcespeed until now patient is in the healqueue