Jump to content
New account registrations are disabed. This website is now an archive. Read more here.

littletomdj

Member
  • Content Count

    1
  • Joined

  • Last visited

About littletomdj

  • Rank
    Newbie

Other

  • Referer
    A Youtube Blogger
  1. Hi there, I'm having a little trouble, just wondering if anyone could help... errr, I'll explain this as thoroughly as I can. So the script is great! I've got faces, name tags & auto fitted text all working at the same time =D I'm using shortcuts like \c1, \c2 etc to call different faces. ___________________________________________ However, I keep getting confronted with this error "Undefined method 'width' for nil:Nil class". I know that it's doing this because it's looking for a value of the size of the face graphic that I'm not always telling it. I was just running a little parallel process at the beginning of each scene that self switches off to solve this & that was fine, but I'm also trying to show text & faces in battles, so I can't add this process. Besides, even if I figure out a work around it's a pain in the ass (and it feels sloppy as hell). So the question is: Can anybody give me a line of code that I stick into the script so that it assumes a value when I haven't designated it. e.g. If there is no value for the width of the face graphic the program will just assume that graphic is 100px wide. (oh and tell me exactly where to put it).
×
×
  • Create New...