Quote
To All,
This below will be in the next update if you wish not to mess with scripts. Currently you can simply hit the M button to view the map (if you made one).
This new script for next update enhances the M button to do 2 functions...show the map OR put a Map Marker on the map. (single hit M shows map, double hit M shows the marker menu to mark where you stand with an X and text.)
1
2
3
4
5
6
7
8
//SHOW MAP
on:keyhit06 {
if (count_stored("unit",1,73)>0){
map;
}else{
msg "I have not made a map of the Island yet!",3;
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//SHOW MAP
on:keyhit06 {
if ($mapmarker==0){
$mapmarker=1;
timer 0,1500,1,"mapmarker";
}else{
if (count_stored("unit",1,73)>0){
if (playergotitem(4990)>0){
freetimers 0,"mapmarker";
$mapmarker=0;
local $x,$z,$marker,$w;
	 $x=getx("unit",1);
	 $z=getz("unit",1);
	 $marker=create("info",36,$x,$z);
	 clear;
	 $w=inputwin("Enter a Map Mark name",0);
	 setindicatorlook $marker,4;
	 setindicatorinfo $marker,"$w";
	 showindicator $marker;
	 freestored "unit",1,4990,1;
	 freevar $w,$marker,$x,$z;
	 skipevent;
}else{
msg "I need something to write with, like charcoal maybe!",3;
freetimers 0,"mapmarker";
$mapmarker=0;
}
}else{
msg "I have not made a map of the Island yet!",3;
freetimers 0,"mapmarker";
$mapmarker=0;
}
}
}
on:mapmarker {
if (count_stored("unit",1,73)>0){
freetimers 0,"mapmarker";
$mapmarker=0;
map;
}else{
msg "I have not made a map of the Island yet!",3;
freetimers 0,"mapmarker";
$mapmarker=0;
}
}