Hey Guys,
I'm still kind of a noob when it comes to scripting, and I've tried to put in this code (see below) after (if $game_temp.message_text != nil
@text = $game_temp.message_text
begin
last_text = @text.clone
@text.gsub!(/\\[Vv]\[([0-9]+)\]/) { $game_variables[$1.to_i] }
end until @text == last_text
@text.gsub!(/\\[Nn]\[([0-9]+)\]/) do
$game_actors[$1.to_i] != nil ? $game_actors[$1.to_i].name : ""
end).
Yet the boxes aren't coming up with Event Indicator. What am I doing wrong? I got the website from this site, so if the author happens to be on here I'd love his/her input. (*Crosses fingers*) And by the way if you are, FANTASTIC intro. Thanks again guys!
@text.gsub!(/\\[Ee]\[([0-9]+)\]/) do
self.y = $game_map.events[$1.to_i].screen_y - self.height - 64
self.x = $game_map.events[$1.to_i].screen_x - self.width / 2
""
end
I'm still kind of a noob when it comes to scripting, and I've tried to put in this code (see below) after (if $game_temp.message_text != nil
@text = $game_temp.message_text
begin
last_text = @text.clone
@text.gsub!(/\\[Vv]\[([0-9]+)\]/) { $game_variables[$1.to_i] }
end until @text == last_text
@text.gsub!(/\\[Nn]\[([0-9]+)\]/) do
$game_actors[$1.to_i] != nil ? $game_actors[$1.to_i].name : ""
end).
Yet the boxes aren't coming up with Event Indicator. What am I doing wrong? I got the website from this site, so if the author happens to be on here I'd love his/her input. (*Crosses fingers*) And by the way if you are, FANTASTIC intro. Thanks again guys!
@text.gsub!(/\\[Ee]\[([0-9]+)\]/) do
self.y = $game_map.events[$1.to_i].screen_y - self.height - 64
self.x = $game_map.events[$1.to_i].screen_x - self.width / 2
""
end