Kingdom Ablaze
Sponsor
ok here is the code im using
[rgss]
cx = contents.text_size($game_party.actors[@actor].name).width
p($game_party.actors[@actor].name)
self.contents.draw_text\
(4+((@index-1)*104)+((@index-1)*14), 32, cx, 32, $game_party.actors[@actor].name)
[/rgss]
ok the code runs fine, but the problem i get is it gives me all the right character names for the print statement, but for the draw_text statement i end up getting all actor 1 data. i have no idea how this is possible. here is screen shot of results
[rgss]
cx = contents.text_size($game_party.actors[@actor].name).width
p($game_party.actors[@actor].name)
self.contents.draw_text\
(4+((@index-1)*104)+((@index-1)*14), 32, cx, 32, $game_party.actors[@actor].name)
[/rgss]
ok the code runs fine, but the problem i get is it gives me all the right character names for the print statement, but for the draw_text statement i end up getting all actor 1 data. i have no idea how this is possible. here is screen shot of results