15 lines
415 B
Plaintext
15 lines
415 B
Plaintext
void main()
|
|
{
|
|
object oObject = GetWaypointByTag("POST_thegrimmreefe002");
|
|
|
|
if (!GetIsObjectValid(GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC, oObject)))
|
|
{
|
|
object oNPC = GetNearestObjectByTag("thegrimmreefe002", oObject);
|
|
if (GetIsObjectValid(oNPC))
|
|
{
|
|
AssignCommand(oNPC, SetIsDestroyable(TRUE));
|
|
DestroyObject(oNPC);
|
|
}
|
|
}
|
|
}
|