Download | Installation Instructions | Credits/About | HardCore Ruleset Mod | Player AutoFollow
Use this for your OnActivateItem script after importing everything in. remember that you have to do it for each chapter if you are running more than one. You can bring up "Edit -> Module Properties". then go to the "Events" tab. and hit the edit button for the "OnActivateItem" box. clear what is in there and directly paste what is written below. this will enable the DM's Helper and leave the Recall Stone working.
//dmw_activate
// ** This script goes in the OnItemActivation event of your Module
// ** Properties. It checks to see if the item used is a DM Helper
// ** And if so, and the user isnt a DM, destroys it, otherwise it
// ** Starts the DM Helper working. "jth_dmwand" contains the actual
// ** code that controls the Helpers effects. If you update anything
// ** in it, you must recompile the calling dmw_<name> script to make
// ** the change take effect.
#include "NW_I0_Plot"
#include "jth_dmwand"
void main()
{
object oItem=GetItemActivated();
object oActivator=GetItemActivator();
if(GetTag(oItem)=="DMsHelper")
{
if(GetIsDM(oActivator) != TRUE)
{
SendMessageToPC(oActivator,"You are mortal and this is not yours!");
DestroyObject(oItem);
return;
}
dmwand_activate();
return;
}
if(GetTag(oItem)=="AutoFollow")
{
object oTarget = GetItemActivatedTarget();
if(GetIsObjectValid(oTarget))
{
AssignCommand ( oActivator, ActionForceFollowObject(oTarget));
}
return;
}
IsRecall();
}