Initial commit
Initial commit [v9.7]
This commit is contained in:
23
_module/nss/approach_alyx3.nss
Normal file
23
_module/nss/approach_alyx3.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
void main()
|
||||
|
||||
{
|
||||
object oActor;
|
||||
|
||||
// Get the creature who triggered this event.
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
// Only fire for (real) PCs.
|
||||
if ( !GetIsPC(oPC) || GetIsDMPossessed(oPC) )
|
||||
return;
|
||||
|
||||
// Have "Alyx2" perform a sequence of actions.
|
||||
oActor = GetObjectByTag("Alyx2");
|
||||
DelayCommand(0.5, AssignCommand(oActor, ActionJumpToObject(oPC)));
|
||||
|
||||
// Have "Alyx2" strike up a conversation with the PC.
|
||||
oActor = GetNearestObjectByTag("Alyx2", oPC);
|
||||
DelayCommand(1.0, AssignCommand(oActor, ActionStartConversation(oPC)));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user