Initial commit. Updated release archive.
This commit is contained in:
15
_module/nss/ro_n_percepsarge.nss
Normal file
15
_module/nss/ro_n_percepsarge.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
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));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user