Initial commit
Initial commit [v9.7]
This commit is contained in:
27
_module/nss/ent_cnv_gsmshn1.nss
Normal file
27
_module/nss/ent_cnv_gsmshn1.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
object oSelf = OBJECT_SELF;
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
|
||||
|
||||
if (DoOnce==TRUE) return;
|
||||
|
||||
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
|
||||
|
||||
object oTarget;
|
||||
|
||||
DoSinglePlayerAutoSave();
|
||||
|
||||
oTarget = GetObjectByTag("gsmshn1");
|
||||
|
||||
DelayCommand(2.0, AssignCommand(oTarget, ActionStartConversation(oPC, "")));
|
||||
|
||||
DelayCommand(3.0, DestroyObject(oSelf));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user