Help - Search - Members - Calendar
Full Version: Conditional Switch "Erase Event" Issue
RPG RPG Revolution Forums > Scripting > Event Emporium
Exuriel
Iv'e been trying like crazy "The noob game developer as i am" To make the Event Erase itself once it's been throughly completed.
Iv'e tryied with Self switch and the rest of the Conditional Switches.

I'll explain in Detail.

I attempt to make a dungeon where you input a Password in wich i did using the "Name input" Event without Actor face or Char nor name.
So yeah it works out find with the help of Conditional Branch it'll continue when the right Word is put in. After the battle with the appearing boss we obtain the KEY. In wich order we use to open the door. But when i go to the Position of wich i were to input the Password it all starts over again wich is not what i wanted. This is my Event:

(Player Touch)
@>Control Switches: [0013:Beelzern Issue] = ON
@>Text: 'Actor1', 0, Normal, Bottom
: : Carud: Huh?..
@>Text: 'Actor1', 0, Normal, Bottom
: : Carud: What's this? I can swear i heard
a voice!
@>Text: -, -, Transparant, Bottom
: : Mirror's Voice: You must find the answer..
: : If you wish to pass through..
@>Name Input Processing: , 10 characters
@>Conditional Branch [] is Name ' APOCALYPSE' Applied
@>Play SE: 'Explosion4', 80, 100
@>Shake Screen: 1, 5, @60, Wait
@>Show Ballon Icon: Player, Question
@>Play SE: 'Heal1', 70, 100
@>Text: -, -, Transparent, Top
: : Mirror's Voice: Well done.. Wake up
: : Beelzern.. Prove to them if they are
: : Worthy of Passage or not!
@>Change Battle BGM: 'Battle5', 100, 80
@>Play Se: 'Monster1', 100, 80
@>Battle Processing: Beelzern
@>Change Battle BGM: 'Battle1', 100, 100
@>Text: -, -, Transparent, Bottom
: : Mirror's Voice: Interesting.. The passage is
: : Yours to pass through whenever you like..
@>Change Items: [Key of the Mirror], + 1
@>Play ME: 'Item', 100, 100
@>Text: -, -, Normal, Bottom
: : Carud: I'd dislike to look myself in the
: : mirror the next time..
: : Since i won't be able to trust mirrors any more.
@>
: Else
@>Text: -, -, Transparent, Bottom
: : Mirror's Voice: You are wrong...
@>
: Branch End
@>Control Self switch: A =ON
@>

*SECOUND EVENT PAGE*

@>Erase

(I putted my Conditions Self switch A on and Autoran it)

PLEASE HELP! Thanks in Advance!
/Exuriel
Zinx10
Not sure if this will work, since I am not too familiar with VX (I believe), but try erasing the event on page 1.

EDIT: Also make sure the 2nd page works only when the switch is on.

EDIT EDIT: Wait...you can't get past the input process?
sasofrass
Copy the event into another game and upload it please.
Alt_Jack
yours
(Player Touch)
@>Control Switches: [0013:Beelzern Issue] = ON
@>Text: blah
@>Name Input Processing: , 10 characters
@>Conditional Branch [] is Name ' APOCALYPSE' Applied
blah
@>: Else
Text: -, -, Transparent, Bottom@>Control Self switch: A =ON
*SECOUND EVENT PAGE*
@>Erase

delete the 2nd page and change the autorun to just player touch (the autorun caused the repeat, which it continually does unless you erase the even). The last "else" function (in red) should have "erase" after the mirror text, rather than just turning on random switches (why is the "Issue" one on? ).
I haven't been at this for a while, but that should work. Come back and complain if it doesn't. sweat.gif
Exuriel
I fixed it, thanks mate! smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.