join dedicated server and execute on client
[] spawn {
bob = creategroup west createunit [typeof player, player modeltoworld [0,2,0], [], 0, "can_collide"];
removeAllItems bob;
bob setdamage 0.5;
sleep 5;
player action ["healSoldier", bob];
sleep 10;
hint str damage bob;
sleep 5;
failMission "end";
}
and wait
this will spawn preinjured soldier bob in front of you and you could see the icon as it neads medical attention. in 5 seconds your soldier will perform healing on bob. The icon will disappear and the hint will show total damage for bob after healing. then it will log you off.
join back and you can see the "heal me" icon on bob, though no bloody trousers.