Initial commit
Initial commit [v9.7]
This commit is contained in:
20
_module/nss/approach_rashane.nss
Normal file
20
_module/nss/approach_rashane.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetEnteringObject();
|
||||
object oRashane = GetObjectByTag("Rashane54");
|
||||
int nHP = GetCurrentHitPoints(oRashane);
|
||||
if (!GetIsPC(oPC)) return;
|
||||
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
|
||||
if (DoOnce==TRUE) return;
|
||||
if (nHP >= 1)
|
||||
{
|
||||
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
|
||||
AssignCommand(oPC, ClearAllActions(TRUE));
|
||||
SetCutsceneMode(oPC, TRUE);
|
||||
AssignCommand(oPC, ActionMoveToObject(oRashane));
|
||||
DelayCommand(3.0, SetCutsceneMode(oPC, FALSE));
|
||||
DelayCommand(3.5, AssignCommand(oRashane, ActionStartConversation(oPC, "")));
|
||||
}
|
||||
else return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user