Lightfoot8 wrote...
Can not be done by script.
You may want to repost this on the CC board. You will basicly need to place Blank mini maps into a hak for the tile set you are using for tha eara.
Since no one else seems to want to correct me
. I guess I will have to correct myself
.
Even though the CC method is the best way to go for hiding the map. You can get a simi hide via scripting. There is no way to fully stop the map from being shown. You can however Clear what has been reviled on a interval to where the PC will never have the compleate map reviled. Here is an example of such a script.
void HideArea()
{
object oArea = GetArea(OBJECT_SELF);
if (oArea != OBJECT_INVALID)
{
if( oArea == GetLocalObject( OBJECT_SELF,"oHide"))
ExploreAreaForPlayer(oArea,OBJECT_SELF,FALSE);
else return;
}
DelayCommand(6.0,HideArea());
}
void main()
{
object oPC = GetEnteringObject();
if (GetIsPC(oPC)&& !GetIsDM(oPC))
{
SetLocalObject(oPC,"oHide",OBJECT_SELF);
AssignCommand(oPC,HideArea());
}
}
Edit: the script would go into the OnEnter Event for the area.
Modifié par Lightfoot8, 16 juin 2012 - 06:15 .