EN4_PRC8/_module/nss/cm_hired_hench.nss

16 lines
384 B
Plaintext
Raw Permalink Normal View History

#include "x0_i0_henchman"
int StartingConditional()
{
// this checks to see if the henchman is considered currently
if (GetIsHired() && GetWorkingForPlayer(GetPCSpeaker()) &&
GetLocalInt(OBJECT_SELF, "X0_L_BUSY_SPEAKING_ONE_LINER") == 0)
{
SetLocalInt(OBJECT_SELF, "X0_L_BUSY_SPEAKING_ONE_LINER", 0);
return TRUE;
}
return FALSE;
}