Battledale_PRC8/_module/nss/px_berserk_kobbo.nss

11 lines
260 B
Plaintext
Raw Permalink Normal View History

void main()
{
object oDoor = GetObjectByTag("px_door_intholder");
if(GetLocalInt(oDoor,"spawned") == 0)
{
CreateObject(OBJECT_TYPE_CREATURE,"px_berserk_kobbo",GetLocation(GetWaypointByTag("px_berserk_kobbo")));
SetLocalInt(oDoor,"spawned",1);
}
}