generated from Jaysyn/ModuleTemplate
29 lines
766 B
Plaintext
29 lines
766 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Reveal Map on Area Load
|
|
//:: reveal_map.nss
|
|
//:: Copyright (c) 2001 Bioware Corp.
|
|
//:: Created By: Phillip Alex Haddox
|
|
//:: Created On: August 20, 2002
|
|
//:://////////////////////////////////////////////
|
|
//
|
|
// Put this script on the OnEnter Event script in
|
|
// the area properties. It will completely reveal
|
|
// the mini-map to all players as they zone in.
|
|
#include "x2_inc_switches"
|
|
#include "nw_i0_generic"
|
|
void main()
|
|
{
|
|
object oPC = GetEnteringObject();
|
|
object oArea = GetArea(oPC);
|
|
|
|
ExploreAreaForPlayer (oArea,oPC);
|
|
|
|
{
|
|
object oPC = GetEnteringObject();
|
|
if(!GetIsPC(oPC))
|
|
return;
|
|
|
|
SetModuleOverrideSpellscript("q6_wild_magic");
|
|
SetLocalInt(OBJECT_SELF, "X2_L_WILD_MAGIC", 0);
|
|
} }
|