HoS_PRC8/_mod/_module/nss/slave_mast_far.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

10 lines
288 B
Plaintext

int StartingConditional()
{
object oMe=OBJECT_SELF;
object oMaster=GetLocalObject(oMe,"oMaster");
float fDist=GetDistanceBetween(oMaster,oMe);
if (GetArea(oMe)!=GetArea(oMaster)) fDist=1000.0;
if (GetPCSpeaker()!=oMaster&&fDist>=60.0) return TRUE;
return FALSE;
}