12-06-2010, 06:21 AM
MGC sorry to bother you again but I have one last question about this script. I am using your loop map feature that is working wonderfully with DerVVulfman's vehicle script. However I am also using a CMS that displays the map name in the menu. So I have a [L] attached to my world map, and on the menu screen it comes up as World Map[L]. Is there any way to get rid of this? I see that the script has the function:
class RPG::MapInfo
# defines the map's name as the name without anything within brackets,
# including brackets
def name
return @name.gsub(/\[.*\]/) {""}
end
#--------------------------------------------------------------------------
# the original name with the codes
def fullname
return @name
end
end
which in turn should get the display to get rid of the [L] at the end of the map(I am wrong?), but it doesn't. I have posted the script below everything including my CMS. Any ideas? Thanks.
class RPG::MapInfo
# defines the map's name as the name without anything within brackets,
# including brackets
def name
return @name.gsub(/\[.*\]/) {""}
end
#--------------------------------------------------------------------------
# the original name with the codes
def fullname
return @name
end
end
which in turn should get the display to get rid of the [L] at the end of the map(I am wrong?), but it doesn't. I have posted the script below everything including my CMS. Any ideas? Thanks.
Habs11