Initial commit
Initial commit [v9.7]
This commit is contained in:
22
_module/nss/approach_bera.nss
Normal file
22
_module/nss/approach_bera.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oTarget;
|
||||
object oActor;
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
// Have "Bera" perform a sequence of actions.
|
||||
oActor = GetObjectByTag("Bera");
|
||||
AssignCommand(oActor, ActionJumpToObject(oPC));
|
||||
|
||||
oTarget = GetObjectByTag("Bera");
|
||||
DelayCommand(1.5, AssignCommand(oTarget, ActionStartConversation(oPC, "")));
|
||||
|
||||
DelayCommand(2.1, DestroyObject(OBJECT_SELF));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user