UW2_PRC8/_module/nss/chestspawnscrpt1.nss

19 lines
333 B
Plaintext
Raw Permalink Normal View History

2023-09-25 20:24:01 -04:00
//Put this script OnClose
#include "nw_i0_2q4luskan"
void main()
{
object oPC = GetLastClosedBy();
if (!GetIsPC(oPC)) return;
object oTarget;
location lTarget;
oTarget = GetWaypointByTag("chestspawnway1");
lTarget = GetLocation(oTarget);
DelayCommand(90.0, CreateObjectVoid(OBJECT_TYPE_PLACEABLE, "queenschest55", lTarget));
}