Initial upload
Initial upload
This commit is contained in:
14
_module/nss/despawn_grimm.nss
Normal file
14
_module/nss/despawn_grimm.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user