PWE_PRC8/_module/nss/map.nss

14 lines
362 B
Plaintext
Raw Normal View History

2025-04-03 10:29:41 -04:00
// if this code were placed in the OnEnter event
// of an area, the entire map would be revealed to the player
// even if they have never been there before.
void main()
{
object oPlayer = GetEnteringObject();
if (GetIsObjectValid(oPlayer) & GetIsPC(oPlayer))
{
object oArea = GetArea(oPlayer);
ExploreAreaForPlayer(oArea, oPlayer);
}
}