rz22g 11 Posted May 16, 2018 Is it possible to set so that when you revive an incapacitated player they do not regain full health ? Would like it so the revived player must use first aid or medical kit after being revived to get back to full capacity. Share this post Link to post Share on other sites
thedubl 43 Posted May 16, 2018 Yes. I assume you are using some revive script. Just look in the code for when it sets the damage and adjust accordingly. https://community.bistudio.com/wiki/setDamage Share this post Link to post Share on other sites
pierremgi 4944 Posted May 17, 2018 in init.sqf, or in a trigger set to condition: true 0 = [] spawn { while {true} do { { _x setVariable ["MGI_halfHealed",true]; _x spawn { _plyr = _this; while {true} do { waitUntil {sleep 2; lifeState _plyr == "INCAPACITATED"}; waitUntil {sleep 1; lifeState _plyr == "HEALTHY"}; _plyr setDamage 0.5; }; }; } forEach (allPlayers select {isNil {_x getVariable "MGI_halfHealed"}}); sleep 2; }; }; 2 Share this post Link to post Share on other sites