PoA_PRC8/_module/nss/plchb_trap_spawn.nss
Jaysyn904 dc236b3073 Added more creature model overrides
Added more creature model overrides.  Added another "boss" creature to the Labyrinth.  Tweaked several other creatures.  Full compile.  Updated release archive.
2024-04-07 18:07:07 -04:00

24 lines
716 B
Plaintext

//:: plchb_trap_spawn.nss
#include "inc_debug"
void main()
{
/* // Check if the placeable object is valid
object oPlaceable = OBJECT_SELF;
if (!GetIsObjectValid(oPlaceable)) return;
// Spawn a waypoint at the placeable's location
location loc = GetLocation(oPlaceable);
object oWaypoint = CreateObject(OBJECT_TYPE_WAYPOINT, "rand_trap_loc", loc);
// Check if the waypoint is valid
if (!GetIsObjectValid(oWaypoint))
{
// Output an error message if waypoint creation fails
if (DEBUG) SendMessageToPC(GetFirstPC(), "Error: Unable to create waypoint at location!");
return;
}
// Destroy the placeable object
DestroyObject(oPlaceable, 1.5); */
}