PRC8_fork/trunk/scripts/prc_maze_onenter.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -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);
*/
}