OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Arctic on 30 Apr 2003, 01:03:14

Title: Ordering AI to go to nearest medic
Post by: Arctic on 30 Apr 2003, 01:03:14
I can't find the code to have an AI (out of the player's group) go to the nearest medic (which would be the medic in the player's group).
Title: Re:Ordering AI to go to nearest medic
Post by: macguba on 30 Apr 2003, 01:09:09
He should do it automatically.   Increasing his group leader's skill and getting the medic closer to him may help.    You could try using the command reveal to make sure the group knows about your medic.

No idea about code though.
Title: Re:Ordering AI to go to nearest medic
Post by: Kaliyuga on 30 Apr 2003, 06:42:32
 Macguba's dead on..

the squaddie should call out he's wounded.. and the Commander tells him to go to the medic... should happen automatically..

 if your mission suits it.. you can also have some medics on a support waypoint somewhere nearby.. then when anyone calls out they're wounded the Medics should move in to heal them ;)