Further file organization
Further file organization
This commit is contained in:
27
nwn/nwnprc/trunk/scripts/pnp_shft_true.nss
Normal file
27
nwn/nwnprc/trunk/scripts/pnp_shft_true.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Shifter - return to true form
|
||||
//:: pnp_shft_true
|
||||
//:://////////////////////////////////////////////
|
||||
/** @file
|
||||
Undoes any shifting that the character may
|
||||
have undergone. Also removes any polymorph
|
||||
effects.
|
||||
|
||||
|
||||
@author Shane Hennessy
|
||||
@date Modified - 2006.10.08 - rewritten by Ornedan
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "prc_inc_shifting"
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
|
||||
// Attempt to unshift and if it fails, inform the user with a message so they don't wonder whether something is happening or not
|
||||
if(UnShift(oPC, TRUE) == UNSHIFT_FAIL)
|
||||
FloatingTextStrRefOnCreature(16828383, oPC, FALSE); // "Failed to return to true form!"
|
||||
}
|
Reference in New Issue
Block a user