Home   Help Search Login Register  

Author Topic: Medical Assistance  (Read 445 times)

0 Members and 1 Guest are viewing this topic.

Kilo11

  • Guest
Medical Assistance
« on: 27 Dec 2004, 17:25:58 »
Alreight, this is a bit complicated but I think the coding would be fairly easy to do, but I have my head up my ass when trying to script so I turn to the geniouses.

I am currently making a large training island, and I need medical assitance at all times.  Meaning:  If anyone is injured, medical assistance is called in and dispatched to his/her exact location. (Keep in mind, I am using the USMC pack, and you bleed out without proper medical care)

But, being this is a large area, I want to define a few variables.

-If wounded person is above .5 dammage, a medical hummer (MED1) is sent to his position.

-If wounded person is below .5 dammage, and is over 1000m away, a helicopter (MED2) will be sent to his postion, pick him up, and take him back to the hospital.

-If the person is dead, no medcial assistance will come (Medics dont deal with dead bodies, lol)


So I believe tahts it, a recap:  If anyone gets injured, a trigger is activated to run the medical script, which would etermine how the medical assitance shouold arrive...i.e-helo or hummer.

Any help would be greatly appreciated!  Thanks.


Sophion

  • Guest
Re:Medical Assistance
« Reply #1 on: 27 Dec 2004, 21:51:46 »
why don't you put an ambulance on and put its first waypoint under "Support"  ???

i'm not sure the officer of the group would call for assistance if one person is injured though.
« Last Edit: 27 Dec 2004, 21:53:05 by Sophion-Black »

Kilo11

  • Guest
Re:Medical Assistance
« Reply #2 on: 28 Dec 2004, 01:52:51 »
Anyone else? I dont believe that works, but ill try.

Dingmatt

  • Guest
Re:Medical Assistance
« Reply #3 on: 28 Dec 2004, 11:31:35 »
i've seen a few seperatre scripts that could manage parts of that but never together or for that purpose. i have a helicopter script that could handle the airevac part and a friend with a taxi script that could be modified to handle the humvee part. As for the dead part, thats the easy bit.
I would be more than happy to supply what i have to anyone wanting to give it a go for you but can't myself cos i'm off on holiday and have enought work to do on my CTI mod.
Hope this will help though.

Dingmatt