Further file organization
Further file organization
This commit is contained in:
18
nwn/nwnprc/trunk/scripts/test_new_poly.nss
Normal file
18
nwn/nwnprc/trunk/scripts/test_new_poly.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "prc_alterations"
|
||||
#include "inc_prc_poly"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
if (GetIsPC(oPC))
|
||||
{
|
||||
if (PRC_Polymorph_Check(oPC))
|
||||
{
|
||||
PRC_UnPolymorph(oPC);
|
||||
}
|
||||
else
|
||||
{
|
||||
PRC_Polymorph_ResRef(oPC, "nw_demon", TRUE);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user