Author: austin(medic)
Author Website:

Requirements: No addons required

Version: 1.1

Short description: This FSM creates AI behaviour to simulate a medic standing around in a base that will heal people that are injured inside the defined radius.

Date: 2015-03-13 11:50


Comments: (0)
Rating:



 





Basic AI Medic FSM

by
austin(medic)


Description:
This FSM creates AI behaviour to simulate a medic standing around in a base that will heal people that are injured inside the defined radius.

Medic doesn't need any FAK's or medkits, he will auto-heal units once he is within 5 meters of them, or if he can't get to them, he will give up after a few minutes and the unit will be auto-healed.

The unit probably won't stay in the radius for long, he will eventually begin to wander farther off from the first place he started as he runs around healing people.

Not too complex,created in 30 minutes to figure out FSMs a bit better.


Installation / Usage:
In init.sqf:
[YOUR-UNIT-NAME-HERE,RADIUS] execFSM "AI_medic.fsm";


Notes:
Not too complex,created in 30 minutes to figure out FSMs a bit better.


Changelog:
v1.1
- Fixed the last unit in the queue being dropped.
- Added animations to the AI medic (he's stupid and usually doesn't face the right way, but he does do something now)
- AI medic will return to his starting position when theres nobody else left to heal.

v1.0
- first release


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: No tags