PWE_PRC8/_module/nss/crawlspacedoor.nss

23 lines
313 B
Plaintext
Raw Permalink Normal View History

2025-04-03 10:29:41 -04:00
void main()
{
object oPC = GetPCSpeaker();
object oTarget;
object oSpawn;
location lTarget;
oTarget = oPC;
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "gremishka", lTarget);
oTarget = oSpawn;
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
}