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 »
  • Tutorials »
  • Common events, switches, wtf?
« previous next »
  • Print
Pages: [1]

Author Topic: Common events, switches, wtf?  (Read 3781 times)

Offline Nickwii2112

  • Ordinary Person
  • Initiate
  • *
  • Posts: 29
  • Meh. Nothing really.Video game and anime junkie.
Common events, switches, wtf?
« on: May 26, 2008, 08:15:56 PM »
I don't understand anything that has to deal with Common Events and switches. They confuse my brain and makes it go asplode (explode)

Can SOMEBODY help me out here?
Logged
Well all need each other.

If we didn't, everyone would be an ***hole for claiming they don't need anybody.

Offline Phayre

  • Exemplar
  • *
  • Posts: 1,089
(No subject)
« Reply #1 on: May 26, 2008, 08:30:15 PM »
Read the help file.
Logged

Offline Moosetroop11

  • Sage
  • *
  • Posts: 7,398
(No subject)
« Reply #2 on: May 26, 2008, 08:58:54 PM »
I'd forget about common events for now but switches are really important, and pretty easy. We almost certainly have a tutorial somewhere... Hold on.
Logged
Maaaaaaaaaaaaaaaaaaaaaaaaaaan I missed this place.

Quote from: drenrin2120
Maaaaaaaaaaaaaaaaaaan I missed you.

Quote from: fruckert
Maaaaaaaaaaaaaaan I missed that welcome.

Offline Prpl_Mage

  • Administrator
  • Sage
  • *
  • Posts: 7,645
  • The Administrator Mage
    • Check out our itch website
(No subject)
« Reply #3 on: May 26, 2008, 08:59:20 PM »
Don't do anything hasty.

What are you trying to do? Common events are used to avoid repeating coding wich isn't used that often.

Switches on the other hand are really usefull. You can add a second page to NPCs in the game and add the condition to be "Switch is ON" and then have a switch called "Dark beast defeated".

So let's say this shopkeeper goes all "dude, you can't buy **** from me. I have to take care of my children as long as that evil dark shadowy and black beast haunts the road."
So after defeating him you make a switch be turned on.
So returning, the second event page with the condition will now overlapp the original one and he will say. "Greetings traveler, ain't it sunny and nice? Care to look at my wares?"

Really easy.
Logged
Cool RPGM Project!
Sprite till you die

Oh my god, this was ...10 years ago...

Offline Ian-TheResourceMaker

  • Associate
  • *
  • Posts: 181
(No subject)
« Reply #4 on: May 26, 2008, 09:03:01 PM »
Quote
Originally posted by Prpl_Mage
Don't do anything hasty.

What are you trying to do? Common events are used to avoid repeating coding wich isn't used that often.

Switches on the other hand are really usefull. You can add a second page to NPCs in the game and add the condition to be "Switch is ON" and then have a switch called "Dark beast defeated".

So let's say this shopkeeper goes all "dude, you can't buy **** from me. I have to take care of my children as long as that evil dark shadowy and black beast haunts the road."
So after defeating him you make a switch be turned on.
So returning, the second event page with the condition will now overlapp the original one and he will say. "Greetings traveler, ain't it sunny and nice? Care to look at my wares?"

Really easy.


What he said. xD
Logged
Photo Sharing and Video Hosting at Photobucket

Offline Moosetroop11

  • Sage
  • *
  • Posts: 7,398
(No subject)
« Reply #5 on: May 26, 2008, 09:17:17 PM »


That might help if you're still stuck.
Logged
Maaaaaaaaaaaaaaaaaaaaaaaaaaan I missed this place.

Quote from: drenrin2120
Maaaaaaaaaaaaaaaaaaan I missed you.

Quote from: fruckert
Maaaaaaaaaaaaaaan I missed that welcome.

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
(No subject)
« Reply #6 on: May 26, 2008, 09:37:29 PM »
search our tutorials section for a day/night and game clock system. Those two will show you how to use Common Events, Switches AND variables
Logged

Offline Nickwii2112

  • Ordinary Person
  • Initiate
  • *
  • Posts: 29
  • Meh. Nothing really.Video game and anime junkie.
(No subject)
« Reply #7 on: May 26, 2008, 09:44:51 PM »
Quote
Originally posted by Prpl_Mage
Don't do anything hasty.

What are you trying to do? Common events are used to avoid repeating coding wich isn't used that often.

Switches on the other hand are really usefull. You can add a second page to NPCs in the game and add the condition to be "Switch is ON" and then have a switch called "Dark beast defeated".

So let's say this shopkeeper goes all "dude, you can't buy **** from me. I have to take care of my children as long as that evil dark shadowy and black beast haunts the road."
So after defeating him you make a switch be turned on.
So returning, the second event page with the condition will now overlapp the original one and he will say. "Greetings traveler, ain't it sunny and nice? Care to look at my wares?"

Really easy.
XD Thanks dude.
Logged
Well all need each other.

If we didn't, everyone would be an ***hole for claiming they don't need anybody.

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
(No subject)
« Reply #8 on: May 26, 2008, 10:05:18 PM »
Or in the case of say, a treasure chest....


You press the action button, and the chest gives you a potion.
And it shows a text box that says
:You got potion X 1:

If add a switch here at the end of that,call it, for example "chest_001" and create a new page in the event that appears only when the switch "chest_001" its activated... it will keep the chest from giving the player the potion over and over and over and over again
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • Tutorials »
  • Common events, switches, wtf?
 

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