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