Hello everybody.
So, as the title says, I would like to show permanently on a certain map the actor's name at fixed coordinates. I tried to do it through a script executed as content of a parallel process, but, because of my ignorance about Ruby, I had to use methods that need to be defined, and I realised that I would need to redefine all the methods and the methods they call and the script call would become enormous.
Here is what I tried to use:
I know that this is a noob question, and I apologise for this, but could you help me? Thank you in advance.
So, as the title says, I would like to show permanently on a certain map the actor's name at fixed coordinates. I tried to do it through a script executed as content of a parallel process, but, because of my ignorance about Ruby, I had to use methods that need to be defined, and I realised that I would need to redefine all the methods and the methods they call and the script call would become enormous.
Here is what I tried to use:
def actor_name(n)
actor = n >= 1 ? $game_actors[n] : nil
actor ? actor.name : ""
end
def draw_actor_name(actor, x, y, width = 112)
draw_text(x, y)
end
draw_actor_name(1,493,28)
actor = n >= 1 ? $game_actors[n] : nil
actor ? actor.name : ""
end
def draw_actor_name(actor, x, y, width = 112)
draw_text(x, y)
end
draw_actor_name(1,493,28)
I know that this is a noob question, and I apologise for this, but could you help me? Thank you in advance.