[RESOLVED] Set a script/game var to Text and display trough a script

Started by iv00w, February 17, 2008, 09:22:44 am

Previous topic - Next topic

iv00w

I was wondering how this can be done?

I tried:
@>Script: @txt = "Text"

self.contents.draw_text(4, 0, 120, 32, @txt)


But that won't work.

Anyone help me out :) ?

EDIT:
I also tried this:


@>Script: @txt = 1

case @txt
when 0
self.contents.draw_text(4, 0, 120, 32, "Text")
return
end

Blizzard

Use $ instead of @. Keep in mind that it will not be saved with the game.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.