OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: jaksa on 19 Jun 2005, 16:47:00
-
When machineguner (or anybody else) running out of ammo, he is informing about that. is it possible, that ammo bearer will come close to gunner, and rearm him?
different example: one got hit, so the medic should go, and heal him. Is it possible to do that without loop (using resourses), the script could be run only when direct accident will happen?
-
Ammo bearer script ;)
http://www.ofpec.com/yabbse/index.php?board=27;action=display;threadid=20863
-
this addEventHandler[{hit}, {[_this select 0] exec "medicgotoheal.sqs"}]
you still need to have the script, but this will check it without the loop
this would be for the medic
also, you will need a medic script which i believe was made, but i'm not sure where
-
btw, i've updated some major erros in the script, so please download the file that is located on the last post.
I'll delete the one at the top and replace it with the latest one just in-case
-
Thanks a lot!!!