PoA_PRC8/_module/nss/prgt_spawneg.nss
Jaysyn904 bfbbd2f1ac Major update
Added several new undead models & facelifted overrides for other models.  Added dozens of new undead creatures from Libris Mortis & the monster manuals.  Added CODI Core AI.  Added NESS spawner system.  Added randomized respawning trap system.  Added undead feeding system.  Greatly revamped Catacombs & Halls of the Dead.  Updated nimtools.  Full compile.  Updated release archive.
2024-04-07 01:06:57 -04:00

14 lines
471 B
Plaintext

//An example OnHB script for an invisible placeable to spawn a ground trap
#include "prc_alterations"
#include "prgt_inc"
void main()
{
struct trap tTrap;
//this will use 5 as the CR for the trap
tTrap = CreateRandomTrap(5);
//add code in here to change things if you want to
//for example, to set the detect DC to be 25 use:
//tTrap.nDetectDC = 25;
PRGT_CreateTrapAtLocation(GetLocation(OBJECT_SELF), tTrap);
DestroyObject(OBJECT_SELF);
}