Schlaak / ArmA-3-Missions

WIP Missions
0 stars 0 forks source link

[IMMERSION] WoundedAI function #9

Closed Schlaak closed 3 years ago

Schlaak commented 3 years ago

WoundedAI function to be called once AI is in ace unconscious state to simulate wounded and dead AI. Generates blood

Schlaak commented 3 years ago

Satisfied with the current state. Function is called:

Schlaak_fnc_incap

Is initialized through Schlaak_spawn_EH.sqf and on Schlaak_vars.sqf. The function will create a growing bloodpool, set eighter a painfull animation or leave the unit unconscious. All whilst adding damage till dead. The unit will get a variable called Schlaak_incap .

Then it will delete the body and leave a body / dead us soldier with blanket / dead ussr soldier with blanked. at some time delete the bloodpool and eventually also deleting the body.

some shit used by it:

Schlaak_incap
Schlaak_dietime
Schlaak_bodybagtime
Schlaak_bagremovaltime