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

Lawrence

Member
  • Content Count

    33
  • Joined

  • Last visited

Everything posted by Lawrence

  1. Ah but this controls the timer! Sorry, I think I didn't explain myself ^^"" I meant a command that should make the script wait, like the event command "wait: n frame(s)"
  2. Anyway it doesn't work, stamina variable doesn't go down... But... Does a wait script command exist at all? :S
  3. Should be something like that? class Stamina_drain def initialize if @timer > 0 #timer @timer -= 1 else if $game_switches[4] == true if $game_variables[5] > 0 case Input.dir4 when 1 .. 4 $game_variables[5] -= 1 end end else if $game_variables[5] < $game_variables[6] $game_variables[5] += 1 end end end #timer end end end
  4. Ok, I have read all the things in the guide, game library... Built-in classes, functions... And I can't find how to slow down the check time. I don't want that function to check every frame but (at least) How can I do that? I could do that by a common event that calls the script but what's the point of making a script if I can't figure how to add a simple (simple?) thing like a wait command? Please someone can help me? And (yeah, it sounds stupid but) am I in the right section for asking help?
  5. I'm just looking for help with a scripting language that I've never used and seen since now. If I were able to figure out things by myself I would not open that topic, ( http://www.gdunlimit...ing/#entry86813 ) don't you think? I'll try my best to be less annoying possible but I'll also be glad if someone can help me even with a little hint of what to do because, again, it's the first time I see the RGSS in my life. I'm sorry if I bothered you (even if I can't figure how and why), I hope it won't happen anymore.
  6. Sure ^^" http://www.gdunlimited.net/forums/topic/10863-script-questions-first-time-scripting/?do=findComment&comment=86813 Can you help me? ^^" I'm stuck..
  7. Hi everyone, I'm new in RGSS scripting and I really need help. I searched in the forum, I searched on google, I searched in the rpgmakerXP guide, but I can't find anything... Also lot of RPGXP script tutorial in this forum have broken links :( Here's one of the problems It's a script I made to drain stamina (variable 5) when running. It works but I'm trying to drain (and refill) the stamina value slower and I can't find anywhere how should I write the command "wait"... Also, does exist a simple list of event commands translated in script commands? That will be very useful because I can't understand a single thing in the XPGuide... Can you help me? Thank you
  8. Hi everyone, I'm Lawrence aka Lawrence Caustic Sorrow. I joined this forum because I recently bought RPGMaker XP from a bundle and I'd like to make something with it... Making videogames it's one of my dreams and I hope I can manage that... I'm not expert in scripting (I just know few things in LUA) and I hope you guys will help me... Talking about this, can you suggest me some beginner tutorials for RGSS script? Thank you very much.
×
×
  • Create New...