16 lines
432 B
Plaintext
16 lines
432 B
Plaintext
void main()
|
|
{
|
|
string sTag = "ct_InquisitionSargeant";
|
|
object oNPC = GetObjectByTag("ct_InquisitionSargeant");
|
|
object oPC = GetLastPerceived();
|
|
if(GetIsPC(oPC) &&
|
|
GetLocalInt( oPC,"SR_Init" + GetTag(oNPC)) == FALSE &&
|
|
IsInConversation(oNPC) == FALSE)
|
|
{
|
|
AssignCommand(oPC, ClearAllActions());
|
|
AssignCommand(oNPC, ClearAllActions());
|
|
AssignCommand(oNPC, ActionMoveToObject(oPC));
|
|
AssignCommand(oNPC, ActionStartConversation(oPC));
|
|
}
|
|
}
|