Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Variables!?
« previous next »
  • Print
Pages: [1]

Author Topic: Variables!?  (Read 1699 times)

Offline Nihongoman

  • Member
  • Initiate
  • *
  • Posts: 11
  • Love Nihongo to Nihon and Programmin'
Variables!?
« on: August 13, 2007, 08:23:09 PM »
Can somebody help me understand variables? Or just give an example how to use a variable? Thanks.  ;)
Logged

Offline Dominicy

  • All men play on ten!
  • Leader
  • *
  • Posts: 2,852
(No subject)
« Reply #1 on: August 14, 2007, 04:24:37 AM »
Example of variables:

If you talk to man X amound of times, then he does something different.  Instead of making thirty billion switches for all the times you have to talk to him, you can use a single variable and make it increase by one every time you talk to him.  Afterwards, make another page that has a requirement that Variable is set to X number.
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Variables!?
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum