#include "NW_O2_CONINCLUDE" #include "NW_I0_GENERIC" #include "jw_privates_inc" void main() { CreateObject(OBJECT_TYPE_CREATURE,"nw_btlfire",GetLocation(OBJECT_SELF)); object oObject=GetObjectByTag("PR_YW_Up"); AssignCommand(oObject,ActionCloseDoor(oObject)); DelayCommand(0.6,SetLocked(oObject,TRUE)); //////////////:://////////////////////////////////////////////////////////////////// //:: General Treasure Spawn Script //:: Copyright (c) 2001 Bioware Corp. //::////////////////////////////////////////////// /* Spawns in general purpose treasure, usable by all classes. */ //::////////////////////////////////////////////// //:: Created By: Brent //:: Created On: February 26 2001 //::////////////////////////////////////////////// object oLastOpener = GetLastOpener(); if (GetIsPC(oLastOpener)) { SetTarget(oLastOpener); SpeakString("NW_ATTACK_MY_TARGET", TALKVOLUME_SILENT_TALK); } if (GetLocalInt(OBJECT_SELF,"NW_DO_ONCE") != 0) { return; } GenerateLowTreasure(oLastOpener, OBJECT_SELF); SetLocalInt(OBJECT_SELF,"NW_DO_ONCE",1); if (GetIsPC(oLastOpener)) { SetTarget(oLastOpener); SpeakString("NW_ATTACK_MY_TARGET", TALKVOLUME_SILENT_TALK); } }