Question?

Go down

Question?

Post by Kyle? on Wed Jun 09, 2010 1:10 am

Well out of stupidity I;m make text appear in the battle scene

So I keep getting a error for my alias

So here the script is
Spoiler:
Code:

class Scene_Battle < Scene_Base
  alias draw_words draw unless $@
  def draw
  draw_words
  words = self.bitmap.draw_text(100, 10, 50, 50, "Hai World!" + "K THX BAI!")
end
alias darw_words_update update unless $@
  def update
  draw_words_update
  # :P There's no update method for bitmap!
end
alias darw_words_dispose dispose unless $@
  def dispose
  draw_words_dispose
  words.dispose unless words.disposed?
end
end

It's the first alias it's an unidentfied method for draw in Scene_Battle...
avatar
Kyle?
Platinum Cookiez
Platinum Cookiez

Posts : 500
Gald : 418

Stats
Cookies: 5

View user profile

Back to top Go down

Re: Question?

Post by Dezz123 on Wed Jun 09, 2010 2:22 am

Can't you do that via the troops tab, in the event box?
avatar
Dezz123
Legendary
Legendary

Posts : 1534
Gald : 6469

Stats
Cookies: 0

View user profile http://www.dezzgames.webs.com, www.evalon.webs.com

Back to top Go down

Re: Question?

Post by Kyle? on Wed Jun 09, 2010 2:34 am

No you can't... It's a diffrent thing to this
avatar
Kyle?
Platinum Cookiez
Platinum Cookiez

Posts : 500
Gald : 418

Stats
Cookies: 5

View user profile

Back to top Go down

Re: Question?

Post by Dezz123 on Wed Jun 09, 2010 2:38 am

Ah, then what are you after it doing?
avatar
Dezz123
Legendary
Legendary

Posts : 1534
Gald : 6469

Stats
Cookies: 0

View user profile http://www.dezzgames.webs.com, www.evalon.webs.com

Back to top Go down

Re: Question?

Post by Kyle? on Wed Jun 09, 2010 2:43 am

To draw text in the battle scene all the time...
avatar
Kyle?
Platinum Cookiez
Platinum Cookiez

Posts : 500
Gald : 418

Stats
Cookies: 5

View user profile

Back to top Go down

Re: Question?

Post by Light on Wed Jun 09, 2010 6:44 pm

hmmm...let me see...
(Light gos to search something)
avatar
Light
Banned
Banned

Posts : 790
Gald : 2129

Stats
Cookies: 0

View user profile http://www.light.site11.com/

Back to top Go down

Re: Question?

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum