PRC8_fork/nwn/trunk/scripts/prc_maze_onenter.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -04:00

39 lines
1004 B
Plaintext

//::///////////////////////////////////////////////
//:: Maze area OnEnter
//:: prc_maze_onenter
//:://////////////////////////////////////////////
/** @file
This script is the Maze spell's maze area
OnEnter script. It will set the creature
into commandable cutscene mode.
@author Ornedan
@date Created - 2005.10.6
*/
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
#include "prc_alterations"
#include "spinc_maze"
void main()
{if(DEBUG) DoDebug("prc_maze_onenter running");
object oCreature = GetEnteringObject();
/* Seems like the trigger gets run first
// Store old commandability and set it to true
SetLocalInt(oCreature, "PRC_Maze_EnteringCommandability", GetCommandable(oCreature));
SetCommandable(TRUE, oCreature);
// Nuke the creature's current command queue
AssignCommand(oCreature, ClearAllActions(TRUE));
// Enter cutscene mode
SetCutsceneMode(oCreature, TRUE);
*/
}