Battledale_PRC8/_module/nss/jw_dstroys_stone.nss

24 lines
274 B
Plaintext
Raw Normal View History

void main()
{
object oPC=GetEnteringObject();
if (!GetIsPC(oPC))
{
return;
}
int nIdx=0;
object oStone=GetObjectByTag("jw_blowsup");
while (GetIsObjectValid(oStone))
{
SetPlotFlag(oStone,0);
DestroyObject(oStone);
nIdx++;
oStone=GetObjectByTag("jw_blowsup",nIdx);
}
}