14 lines
362 B
Plaintext
14 lines
362 B
Plaintext
// 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);
|
|
}
|
|
}
|
|
|