Search the Community
Showing results for tags 'first aid kit'.
Found 2 results
-
First aid kits healing to 100% for all players error
MrSydney posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, I am not too sure about the vanilla system regarding first aid kits, but as I understand it, if a player that is not a medic and does not have a medkit tries to heal himself or someone else with a first aid kit, then he should only be able to restore his health to about 75%. If you want to return a player's health to 100%, you should be healed by a medic with a medkit. I noticed on my missions that all players were able to heal themselves to 100% using first aid kits. I checked that this was indeed the case by using a little mod to show the health status, which can be found here: https://steamcommunity.com/sharedfiles/filedetails/?id=1250429186. I am running a few scripts, but there is nothing that I implemented that should affect this. Is there a setting somewhere where I can change it back to the the vanilla system or a script that I can implement to force the system that I described above? Thank you- 9 replies
-
- heal
- first aid kit
-
(and 1 more)
Tagged with:
-
Hello everyone, and thank you for taking the time. As the title suggests this is what I am trying to work out and I have been trying to learn and figure this out on my own for almost two weeks now. I have done many different tests and workarounds but not managed to solve it; What I am trying to create is a script that when any and all AI is killed, pre-placed or spawned, all numbers of a specific inventory item .. in this case first aid kits are removed. I don't want any of the enemies to have any first aid kits at all. In my case as a Zeus, I want to manage the number of first aid kits given to players on my own and that they will not loot them on bodies for themselves. - removeItem command solves the issue, but it also removes many other items. - removeItem(s) has not worked out during my testing either. - removeAssignedItems is not what I am looking for either. Some different attempts so far which has not worked: { if (!isPlayer _x) then { _x removeItems "vn_o_item_firstaid_01"; _x removeItems "vn_b_item_firstaid_01"; _x removeItems "vn_o_item_firstaidkit"; _x removeItems "vn_b_item_firstaidkit"; _x removeItems "Item_FirstAidKit"; }; } foreach (allUnits); if (faction _killed == "O_PAVN") then { removeItems "vn_o_item_firstaid_01" _killed; removeItems "vn_b_item_firstaid_01" _killed; removeItems "vn_o_item_firstaidkit" _killed; removeItems "vn_b_item_firstaidkit" _killed; removeItems "Item_FirstAidKit" _killed; deleteVehicle (nearestObject [_killed, "WeaponHolderSimulated"]); }; Any feedback is appreciated!
- 7 replies
-
- first aid kit
- inventory
-
(and 5 more)
Tagged with: