Jump to content
Robustcolor

BIS Revive - ReviveRequiredItems/ReviveRequiredItemsFakConsumed

Recommended Posts

Hi, is it possible to adjust the BIS Revive to detect modded faks then just the regular vanilla ones? Revive shows up but won't work.

Share this post


Link to post
Share on other sites

No, the revive system is hard coded for the strings "FirstAidKit" and "Medikit".

See \a3\functions_f_mp_mark\revive\defines.inc

/*--------------------------------------------------------------------------------------------------

	REQUIREMENTS

--------------------------------------------------------------------------------------------------*/
#define CAN_USE_MEDIKIT(unit)			(unit getUnitTrait "Medic" && {'Medikit' in items unit})
#define CAN_USE_MEDIKIT2(unit,target)	(unit getUnitTrait "Medic" && {('Medikit' in items unit || {(!isNull target && {'Medikit' in items target})})})
#define CAN_USE_FAK(unit)				('FirstAidKit' in items unit)
#define CAN_USE_FAK2(unit,target)		('FirstAidKit' in items unit || {(!isNull target && {'FirstAidKit' in items target})})

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×