RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu

[RESOLVED] How to show a map's name, but not in the normal message form?

Started by gameo, May 10, 2007, 01:15:26 PM

0 Members and 1 Guest are viewing this topic.

gameo

Well what i was looking for is when you enter a map, the map's name appears in one of the corners (that doesen't really matter).

Like, if i have a map called Silen Village (which i do, lol) then when entering it, some text in one of the corners should say Silen village without interupting the player.

It should last about 5 seconds or so.


Thanks in advance.
Does 2+2 equal a peanut?

:)

use "show picture command" do you have photoshop or paint? well make a tag for each map.
Watch out for: HaloOfTheSun

modern algebra


gameo

Wow, what quick replies! So i should just have an event that auto-runs and shows the picture, then drop the opacity til 0?
Does 2+2 equal a peanut?

:)

Quote from: modern algebra on May 10, 2007, 01:20:32 PM
Or, you can use the Floating Location Window Script


well what modern suggested seems tons better, it's a script but I have never used it so I don't know the outcome of it.
Watch out for: HaloOfTheSun

gameo

Allright, i'll see what it does.

Should i just copy the script in his first post and insert it above main?

Does 2+2 equal a peanut?

gameo

Okay, works fine. But how would i disable it and enable it? Because there are some maps where i don't want it to show.
Does 2+2 equal a peanut?

Zeriab

I've attached a demo where it is disabled for some maps and not for others.
Just ignore the rain system I've also made.

gameo

Sorry for being such a pain in the *beep*, but i didn't quite understand that demo.

My question remains: "How do you disable it?" I can see you have disabled it on some maps in the demo, but how?
Does 2+2 equal a peanut?

Zeriab

Select Floating Window in the Script Editor
Go to line 112 containing DISABLED_NUMBERS = [2,3]
This means that the map with ID 2 and 3 will not have the message displayed.
If you want to disabled the script for let's say the maps with ID 1, 6, 7 and 13 you just change the line to this:
DISABLED_NUMBERS = [1,6,7,13]

Also:
# Disabled for the map with ID 2
DISABLED_NUMBERS = [2]

# Not disabled at all
DISABLED_NUMBERS = []

JFloyd

Can you have it so it only calls it on certain events, like when you walk into the town from the gate, but not out of a house?

gameo

Thanks a bunch Zeriab  :tpg:! Doumo Arigato. (No i'm not japaniese)
Does 2+2 equal a peanut?

:)

Watch out for: HaloOfTheSun