Charas-Project

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

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Killing the event, bro.
« previous next »
  • Print
Pages: [1]

Author Topic: Killing the event, bro.  (Read 4208 times)

Offline WindGuts

  • Shinigami
  • Initiate
  • *
  • Posts: 17
  • My Bankai makes Aizen jelly.
Killing the event, bro.
« on: January 31, 2012, 03:27:13 PM »
How do you stop an event from reappearing every time you re enter a room?
Logged
My Bankai made Gin open his eyes.

Offline A Forgotten Legend

  • Your neighborhood box of colors
  • Royal
  • *
  • Posts: 4,428
    • Website
Re: Killing the event, bro.
« Reply #1 on: January 31, 2012, 06:55:35 PM »
Switches!

When making an event -- make another page in the event.  On that page, check the switch box and create a switch.  Go back to the first page of the event and go to the end of the event.  Turn on the switch you just created.  I can go into more detail if you want.
Logged

Offline Prpl_Mage

  • Administrator
  • Sage
  • *
  • Posts: 7,645
  • The Administrator Mage
    • Check out our itch website
Re: Killing the event, bro.
« Reply #2 on: January 31, 2012, 09:20:22 PM »
Basically, add a condition at the start of that one event that doesn't make it start again. Anything from an event precondition to a conditional branch at the top of the event commands. Just make sure that the event is erased if it's an auto start.
Logged
Cool RPGM Project!
Sprite till you die

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

Offline WindGuts

  • Shinigami
  • Initiate
  • *
  • Posts: 17
  • My Bankai makes Aizen jelly.
Re: Killing the event, bro.
« Reply #3 on: February 01, 2012, 01:17:49 AM »
Explain more, please?
Logged
My Bankai made Gin open his eyes.

Offline Moosetroop11

  • Sage
  • *
  • Posts: 7,398
Re: Killing the event, bro.
« Reply #4 on: February 01, 2012, 01:29:21 AM »
Each event has pages, right? You've probably only ever used one.  You can create 'page 2'.  Then put in the conditions for that page (to the left of the screen) that you want a switch, say SWITCH 1, ON.  That means that the page will only happen if switch 1 is on.

Then at the end of the first page's events, in which the event does everything you want it to do, make it turn switch 1 ON.  That'll make it choose the second page instead of the first.  Then leave the secon page blank and you have an event that no longer does anything.

If you don't understand, have a play with switches and conditions.  You should be able to find switches after a little look through the events list (the place where you click 'message' or 'move event' or whatever)
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
Re: Killing the event, bro.
« Reply #5 on: February 01, 2012, 04:53:06 PM »
Yeah what moose said.

Gonna look something like this:

Event 1:
page 1-
Autostart
Play bgm - great intro song
show faceset - morgan freeman
show message - my my, this is one catchy intro song. gotta get me some ice cream.
move event - morgan freeman, left
show message - you there! don't just stand around without getting me some ice cream!
move event - hero, face left, face right, face right
show faceset - totally generic hero
show message - i will bring you ice cream by the power of the light!
turn switch ON : switch[0001:introplayed]
erase event.
-----------------------
page2:
precondition: switch - 1 is ON.
action key
event commands - empty
OR
auto start
event commands -
erase event.
Logged
Cool RPGM Project!
Sprite till you die

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

Offline WindGuts

  • Shinigami
  • Initiate
  • *
  • Posts: 17
  • My Bankai makes Aizen jelly.
Re: Killing the event, bro.
« Reply #6 on: February 01, 2012, 05:00:01 PM »
It worked. Thanks a daffodil, folks.
Logged
My Bankai made Gin open his eyes.

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Killing the event, bro.
 

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