Changed folder name.
Changed folder name.
This commit is contained in:
19
_module/nss/respawnthrone.nss
Normal file
19
_module/nss/respawnthrone.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
void CreateItemOnObjectVoid(string sItemTemplate, object oTarget=OBJECT_SELF, int nStackSize=1)
|
||||
{
|
||||
CreateItemOnObject(sItemTemplate, oTarget, nStackSize);
|
||||
}
|
||||
|
||||
//Put this script OnOpen
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastOpenedBy();
|
||||
if (!GetIsPC(oPC)) return;
|
||||
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
|
||||
if (DoOnce==TRUE) return;
|
||||
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
|
||||
|
||||
DelayCommand(8000.0, CreateItemOnObjectVoid("thequeensdiary", OBJECT_SELF));
|
||||
|
||||
DelayCommand(30000.0, CreateItemOnObjectVoid("note2looter", OBJECT_SELF));
|
||||
|
||||
}
|
Reference in New Issue
Block a user