EN6_PRC8/_module/nss/en6_getcorpse1.nss

18 lines
360 B
Plaintext
Raw Permalink Normal View History

void main()
{
string sCorpse;
string sTag;
object oWP;
int iCampSpot;
location lLoc;
iCampSpot=GetLocalInt(OBJECT_SELF,"QuestStep1CampSpot");
sTag=GetLocalString(OBJECT_SELF,"QuestZone") + "_C" + IntToString(iCampSpot) + "_Treasure";
sCorpse="en6_corpse";
oWP=GetObjectByTag(sTag);
lLoc=GetLocation(oWP);
CreateObject(OBJECT_TYPE_PLACEABLE,sCorpse,lLoc);
}