Further file organization
Further file organization
This commit is contained in:
35
nwn/nwnprc/trunk/newspellbook/inv_hmndshp_opts.nss
Normal file
35
nwn/nwnprc/trunk/newspellbook/inv_hmndshp_opts.nss
Normal file
@@ -0,0 +1,35 @@
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Humanoid Shape - Start options conversation
|
||||
//:: inv_hmndshp_opts
|
||||
//:://////////////////////////////////////////////
|
||||
/** @file
|
||||
Starts the Change Shape Options dynamiv conversation.
|
||||
|
||||
|
||||
@author Shane Hennessy
|
||||
@date Modified - 2006.10.08 - rewritten by Ornedan - modified by Fox
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "inc_dynconv"
|
||||
#include "inv_inc_invfunc"
|
||||
#include "inv_invokehook"
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
if (!PreInvocationCastCode())
|
||||
{
|
||||
// If code within the PreSpellCastHook (i.e. UMD) reports FALSE, do not run this spell
|
||||
return;
|
||||
}
|
||||
|
||||
// End of Spell Cast Hook
|
||||
|
||||
object oPC = OBJECT_SELF;
|
||||
|
||||
SetLocalInt(oPC, "ChangeShapeConfig", GetSpellId());
|
||||
|
||||
StartDynamicConversation("prc_chngshp_conv", oPC, DYNCONV_EXIT_ALLOWED_SHOW_CHOICE, TRUE, FALSE, oPC);
|
||||
}
|
Reference in New Issue
Block a user