Home   Help Search Login Register  

Author Topic: rearm machinegunner  (Read 752 times)

0 Members and 1 Guest are viewing this topic.

jaksa

  • Guest
rearm machinegunner
« 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?

Offline greg147

  • Contributing Member
  • **
    • Royal Air Assault Battalion
Royal Air Assault Battalion - [L/Cpl] Greg
RAAB

Bluelikeu

  • Guest
Re:rearm machinegunner
« Reply #2 on: 19 Jun 2005, 17:59:22 »
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
« Last Edit: 19 Jun 2005, 18:15:37 by Bluelikeu »

Bluelikeu

  • Guest
Re:rearm machinegunner
« Reply #3 on: 19 Jun 2005, 18:31:43 »
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

jaksa

  • Guest
Re:rearm machinegunner
« Reply #4 on: 19 Jun 2005, 22:46:21 »
Thanks a lot!!!