[RPGVXA]Show floating text via script call on event

Hello I have a script call for showing text over a player :
message = "Sword is stolen!"
$game_map.show_text($game_player,message)

How I need it to change to display text on a event ?
I triend
message = "Sword is stolen!"
$game_map.show_text($game_map_event = 1,message) and I got crash.

Please Help 🙂
also please move it to Script Support.
Hello I have a script call for showing text over a player :
message = "Sword is stolen!"
$game_map.show_text($game_player,message)

How I need it to change to display text on a event ?
I triend
message = "Sword is stolen!"
$game_map.show_text($game_map_event = 1,message) and I got crash.

Please Help 🙂
also please move it to Script Support.
What script is it that allows to show a message above the player?

you probably need to do this.
$game_map.show_text($game_map.events[1],message)
What script is it that allows to show a message above the player?

you probably need to do this.
$game_map.show_text($game_map.events[1],message)
Hello Thanks for the answer I tried your script call and it's working I've tried myself $game_map.event[1],message) =.=
without the "s" and got error. Now It's solved !
Thank You very much!

ps. I' don't know Im working on project for 10 years and there is so many things there... and also scripts I need to figure it out which one... but I thinks it's Khass Saphire system
Hello. Sorry to resurrect this topic, I couldn't find a more convenient and effective way to answer my question than in this topic.

$game_map.show_text($game_player,message)
$game_map.show_text($game_map.events[1],message)

Regarding these codes: is it possible to change the text color using some command? I've tried several options but none work.
Hello. Sorry to resurrect this topic, I couldn't find a more convenient and effective way to answer my question than in this topic.

Hello,
it would have been better to make a new thread and link to this one if you thought that was related.
Anyway, can you provide a link to the script you are using to perform the show_text? Otherwise it will be hard to help you since we don't know the script exactly.
Hello,
it would have been better to make a new thread and link to this one if you thought that was related.
Anyway, can you provide a link to the script you are using to perform the show_text? Otherwise it will be hard to help you since we don't know the script exactly.
Good afternoon.

The commands are those from the previous comment; they are simply script calls:
$game_map.show_text($game_player,message) = a message will pop up on the hero.
$game_map.show_text($game_map.events[1],message) = A message will pop up on the event.

What I'm looking for is something like this, which doesn't work:
$game_map.show_text($game_map.events[1], /c[2]50)

Here in the example, I trying to use the third color of the window, which would be red; therefore, 50 damage. The idea was to use only three colors: white - which is the default, red - damage, and green - healing.

So my question is about this: is it possible to change the text color of the message?
So my question is about this: is it possible to change the text color of the message?
Possibly, what you are most certainly missing is the quotes.
If you read carefully the original post you will see that 'message' is in quotes.
message = "Sword is stolen!"
So using $game_map.show_text($game_player,message)will display Sword is Broken!
So for your message you should try "/C[2]50" or is it "\C[2]50" can't remember the direction of the slash.
Possibly, what you are most certainly missing is the quotes.
If you read carefully the original post you will see that 'message' is in quotes.
message = "Sword is stolen!"
So using $game_map.show_text($game_player,message)will display Sword is Broken!
So for your message you should try "/C[2]50" or is it "\C[2]50" can't remember the direction of the slash.
Unfortunately, it's not the quotation marks.
Actually, the message appears with or without the quotation marks.

It's the code "\c[]" that causes the error.
Game_Interpreter, line 1411 eval(script)

Original thread: https://forums.rpgmakerweb.com/threads/rpgvxa-show-floating-text-via-script-call-on-event.172078/