Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> How to end an event.
vaporate23
post Jan 10 2010, 10:57 AM
Post #1


Level 3
Group Icon

Group: Member
Posts: 40
Type: None
RM Skill: Undisclosed




Hi guys,

This may sound easy, and prob is to most of you but anyway.

It's like this:

The hero touches the cave entrance on the world map and enters the cave entrance map. The hero has to talk to the one guard standing in front of the cave in order to gain access. As such the hero has to give the correct 6 digit number to gain access. (given by another soldier in a different town)

If the hero gives the correct 6 digit number, the guard walks away from the hero and walks off the map screen and disappears. (while the hero remains still until guards walks off the map)

However, here is where the problem lies:

How do i set it where, should the hero enter the cave entrance map again from the world map (or enters the cave entrance from the cave itself), after giving the correct code number, that the guard is no longer there to ask the same question over and over? (unless the hero gives the wrong code number).

If a switch is needed, would you know which steps must be taken?

My event is like this:

Event Command

Change face graphic
Message: Soldier: This cave is off limits to the general public. However, if you can tell me the password
message: as set by the kingdom of Arcadius, I shall grant you access.
Change face graphic: Erase
Message: Enter Key code
Input number: 6 Digit [0001: 437951]
Branch if Var [0001: 437951] is 437951]
Change face graphic
Message: Soldier: Access granted! However, please take care as this cave is a haven for tough monsters.
Move event: Hero, wait, wait
Move event: soldierguardcave1, turn 90 degrees left, move, left, move down x 14
Wait 4.0 sec
erase event
Else Handler
Change face graphic
message: Soldier: Access Denied!

End

This post has been edited by vaporate23: Jan 10 2010, 11:27 AM
Go to the top of the page
 
+Quote Post
   
draken29
post Jan 10 2010, 11:31 AM
Post #2


Level 14
Group Icon

Group: Revolutionary
Posts: 255
Type: Event Designer
RM Skill: Intermediate




QUOTE (vaporate23 @ Jan 11 2010, 01:57 AM) *
Hi guys,

This may sound easy, and prob is to most of you but anyway.

It's like this:

The hero touches the cave entrance on the world map and enters the cave entrance map. The hero has to talk to the one guard standing in front of the cave in order to gain access. As such the hero has to give the correct 6 digit number to gain access. (given by another soldier in a different town)

If the hero gives the correct 6 digit number, the guard walks away from the hero and walks off the map screen and disappears. (while the hero remains still until guards walks off the map)

However, here is where the problem lies:

How do i set it where, should the hero enter the cave entrance map again from the world map (or enters the cave entrance from the cave itself), after giving the correct code number, that the guard is no longer there to ask the same question over and over? (unless the hero gives the wrong code number).

If a switch is needed, would you know which steps must be taken?

Okay here we go
First step:
1.Create the guard event
2.Choose Conditional Branch
3.Set the condition to page 4 choose item
4.Choose the item that you needed
5.Press Ok
Second step:
1.Set whatever text you want(dialog)
2.Choose set move route in page 2 event command
3.Set the move route
4.Choose exit event processing in page 1 event command
Third step:
1.Choose control self switch in page 1 event command
2.Set self switch A to on
Fourth step:
1.In the "else" section create whatever event text you want
Last step:
1.Choose New event page in the upper screen
2.In the left screen of page 2 set self switch A to on

That's it laugh.gif


__________________________
[Show/Hide] Profile Card

Profile Card by HayzenTZ


Go to the top of the page
 
+Quote Post
   
vaporate23
post Jan 10 2010, 12:41 PM
Post #3


Level 3
Group Icon

Group: Member
Posts: 40
Type: None
RM Skill: Undisclosed




QUOTE (draken29 @ Jan 10 2010, 12:31 PM) *
QUOTE (vaporate23 @ Jan 11 2010, 01:57 AM) *
Hi guys,

This may sound easy, and prob is to most of you but anyway.

It's like this:

The hero touches the cave entrance on the world map and enters the cave entrance map. The hero has to talk to the one guard standing in front of the cave in order to gain access. As such the hero has to give the correct 6 digit number to gain access. (given by another soldier in a different town)

If the hero gives the correct 6 digit number, the guard walks away from the hero and walks off the map screen and disappears. (while the hero remains still until guards walks off the map)

However, here is where the problem lies:

How do i set it where, should the hero enter the cave entrance map again from the world map (or enters the cave entrance from the cave itself), after giving the correct code number, that the guard is no longer there to ask the same question over and over? (unless the hero gives the wrong code number).

If a switch is needed, would you know which steps must be taken?

Okay here we go
First step:
1.Create the guard event
2.Choose Conditional Branch
3.Set the condition to page 4 choose item
4.Choose the item that you needed
5.Press Ok
Second step:
1.Set whatever text you want(dialog)
2.Choose set move route in page 2 event command
3.Set the move route
4.Choose exit event processing in page 1 event command
Third step:
1.Choose control self switch in page 1 event command
2.Set self switch A to on
Fourth step:
1.In the "else" section create whatever event text you want
Last step:
1.Choose New event page in the upper screen
2.In the left screen of page 2 set self switch A to on

That's it laugh.gif



I'm using the rpg maker 2003 software. Call me stupid but I can not find self switch a?

I know I have to make a switch to turn this event off after the player gets the correct code right but do not know how.

Please check my 1st post event command first if anyone knows.

(I'm a newbie lol
Go to the top of the page
 
+Quote Post
   
draken29
post Jan 10 2010, 12:48 PM
Post #4


Level 14
Group Icon

Group: Revolutionary
Posts: 255
Type: Event Designer
RM Skill: Intermediate




okay first check for the "variable operation" button in the event command
then set the single switch 1 then on
then create a second page(press the new page button)
in the left in precondition set the switch 1 to on

that's it
that will end the event and the event will not show anymore


__________________________
[Show/Hide] Profile Card

Profile Card by HayzenTZ


Go to the top of the page
 
+Quote Post
   
vaporate23
post Jan 10 2010, 12:52 PM
Post #5


Level 3
Group Icon

Group: Member
Posts: 40
Type: None
RM Skill: Undisclosed




QUOTE (draken29 @ Jan 10 2010, 01:48 PM) *
okay first check for the "variable operation" button in the event command
then set the single switch 1 then on
then create a second page(press the new page button)
in the left in precondition set the switch 1 to on

that's it
that will end the event and the event will not show anymore



Thank You!
Go to the top of the page
 
+Quote Post
   
draken29
post Jan 10 2010, 12:56 PM
Post #6


Level 14
Group Icon

Group: Revolutionary
Posts: 255
Type: Event Designer
RM Skill: Intermediate




You're welcome laugh.gif


__________________________
[Show/Hide] Profile Card

Profile Card by HayzenTZ


Go to the top of the page
 
+Quote Post
   
Brent Murray
post Jan 10 2010, 01:47 PM
Post #7


ONE MORE WIN! ONE MORE WIN! ONE MORE WIN!!!
Group Icon

Group: Revolutionary
Posts: 522
Type: Developer
RM Skill: Masterful




A little off topic here, but this takes me back when I first l learned what switches and variables were for. Ah...good times, so many nights of just screaming "WHY DOES THIS ****ING CHEST KEEP GIVING ME ****ING POTIONS ALL THE TIME --- DAMN IT!"
Go to the top of the page
 
+Quote Post
   
Pal88
post Jan 10 2010, 02:11 PM
Post #8


Level 22
Group Icon

Group: Revolutionary
Posts: 466
Type: None
RM Skill: Undisclosed




QUOTE (Brent Murray @ Jan 10 2010, 09:47 PM) *
A little off topic here, but this takes me back when I first l learned what switches and variables were for. Ah...good times, so many nights of just screaming "WHY DOES THIS ****ING CHEST KEEP GIVING ME ****ING POTIONS ALL THE TIME --- DAMN IT!"



Been there before myself lol, till i learned that all you needed was an extra switch at the end smile.gif
But I also used to get the trouble of that when you re-entered the map you'd see the event that you wanted gone appear for a split second and then disappear, that used to rack my brain until i realised how to solve that little problem as well.

Turn the sprite into a fully transparent thingy biggrin.gif lol
Such fun were the times of just beginning!


__________________________


Go to the top of the page
 
+Quote Post
   
Brent Murray
post Jan 11 2010, 02:23 AM
Post #9


ONE MORE WIN! ONE MORE WIN! ONE MORE WIN!!!
Group Icon

Group: Revolutionary
Posts: 522
Type: Developer
RM Skill: Masterful




And now, I can do pretty much anything with 2k3. Some day I will switch to something else... But for now, until that day comes, I will still love my rm2k3.

Okay, better shut-up and get back on topic here. Sry guys, old memories flooding back. ^^
Go to the top of the page
 
+Quote Post
   
vaporate23
post Jan 11 2010, 05:47 AM
Post #10


Level 3
Group Icon

Group: Member
Posts: 40
Type: None
RM Skill: Undisclosed




QUOTE (Brent Murray @ Jan 11 2010, 03:23 AM) *
And now, I can do pretty much anything with 2k3. Some day I will switch to something else... But for now, until that day comes, I will still love my rm2k3.

Okay, better shut-up and get back on topic here. Sry guys, old memories flooding back. ^^



I thought I had it earlier but nitto.

Would be great if someone could put up a screenshot of what to do, or a list of exact instructions regarding the question of my thread.
Please revert to post one if you can lend a hand. No worries If you do not have the time. Case of trial and error.

(If there was a published guide book on switches, events, variables ect I'd buy it!)
Go to the top of the page
 
+Quote Post
   
draken29
post Jan 11 2010, 07:05 AM
Post #11


Level 14
Group Icon

Group: Revolutionary
Posts: 255
Type: Event Designer
RM Skill: Intermediate




QUOTE (vaporate23 @ Jan 11 2010, 08:47 PM) *
QUOTE (Brent Murray @ Jan 11 2010, 03:23 AM) *
And now, I can do pretty much anything with 2k3. Some day I will switch to something else... But for now, until that day comes, I will still love my rm2k3.

Okay, better shut-up and get back on topic here. Sry guys, old memories flooding back. ^^



I thought I had it earlier but nitto.

Would be great if someone could put up a screenshot of what to do, or a list of exact instructions regarding the question of my thread.
Please revert to post one if you can lend a hand. No worries If you do not have the time. Case of trial and error.

(If there was a published guide book on switches, events, variables ect I'd buy it!)

Okay here's the image
[Show/Hide] First page

[Show/Hide] Second page


See the bracket
That's the important part in switch


__________________________
[Show/Hide] Profile Card

Profile Card by HayzenTZ


Go to the top of the page
 
+Quote Post
   
vaporate23
post Jan 11 2010, 07:43 AM
Post #12


Level 3
Group Icon

Group: Member
Posts: 40
Type: None
RM Skill: Undisclosed




QUOTE (draken29 @ Jan 11 2010, 07:05 AM) *
QUOTE (vaporate23 @ Jan 11 2010, 08:47 PM) *
QUOTE (Brent Murray @ Jan 11 2010, 03:23 AM) *
And now, I can do pretty much anything with 2k3. Some day I will switch to something else... But for now, until that day comes, I will still love my rm2k3.

Okay, better shut-up and get back on topic here. Sry guys, old memories flooding back. ^^



I thought I had it earlier but nitto.

Would be great if someone could put up a screenshot of what to do, or a list of exact instructions regarding the question of my thread.
Please revert to post one if you can lend a hand. No worries If you do not have the time. Case of trial and error.

(If there was a published guide book on switches, events, variables ect I'd buy it!)

Okay here's the image
[Show/Hide] First page

[Show/Hide] Second page


See the bracket
That's the important part in switch



WOW! Thank you for taking the time to do this. I really do appreciate it. I owe you one!

I shall reply back on this thread later to confirm status.

If I find a chance to repay you I shall. biggrin.gif
Go to the top of the page
 
+Quote Post
   
vaporate23
post Jan 11 2010, 07:51 AM
Post #13


Level 3
Group Icon

Group: Member
Posts: 40
Type: None
RM Skill: Undisclosed




QUOTE (vaporate23 @ Jan 11 2010, 07:43 AM) *
QUOTE (draken29 @ Jan 11 2010, 07:05 AM) *
QUOTE (vaporate23 @ Jan 11 2010, 08:47 PM) *
QUOTE (Brent Murray @ Jan 11 2010, 03:23 AM) *
And now, I can do pretty much anything with 2k3. Some day I will switch to something else... But for now, until that day comes, I will still love my rm2k3.

Okay, better shut-up and get back on topic here. Sry guys, old memories flooding back. ^^



I thought I had it earlier but nitto.

Would be great if someone could put up a screenshot of what to do, or a list of exact instructions regarding the question of my thread.
Please revert to post one if you can lend a hand. No worries If you do not have the time. Case of trial and error.

(If there was a published guide book on switches, events, variables ect I'd buy it!)

Okay here's the image
[Show/Hide] First page

[Show/Hide] Second page


See the bracket
That's the important part in switch



WOW! Thank you for taking the time to do this. I really do appreciate it. I owe you one!

I shall reply back on this thread later to confirm status.

If I find a chance to repay you I shall. biggrin.gif




I done it!!!!!!!!!!

God I'm a noob lol I deserve a royal kicking for not knowing that.

p.s If I can repay you I will. Even a paypal donation.
Go to the top of the page
 
+Quote Post
   
draken29
post Jan 11 2010, 07:58 AM
Post #14


Level 14
Group Icon

Group: Revolutionary
Posts: 255
Type: Event Designer
RM Skill: Intermediate




QUOTE (vaporate23 @ Jan 11 2010, 10:51 PM) *
QUOTE (vaporate23 @ Jan 11 2010, 07:43 AM) *
QUOTE (draken29 @ Jan 11 2010, 07:05 AM) *
QUOTE (vaporate23 @ Jan 11 2010, 08:47 PM) *
QUOTE (Brent Murray @ Jan 11 2010, 03:23 AM) *
And now, I can do pretty much anything with 2k3. Some day I will switch to something else... But for now, until that day comes, I will still love my rm2k3.

Okay, better shut-up and get back on topic here. Sry guys, old memories flooding back. ^^



I thought I had it earlier but nitto.

Would be great if someone could put up a screenshot of what to do, or a list of exact instructions regarding the question of my thread.
Please revert to post one if you can lend a hand. No worries If you do not have the time. Case of trial and error.

(If there was a published guide book on switches, events, variables ect I'd buy it!)

Okay here's the image
[Show/Hide] First page

[Show/Hide] Second page


See the bracket
That's the important part in switch



WOW! Thank you for taking the time to do this. I really do appreciate it. I owe you one!

I shall reply back on this thread later to confirm status.

If I find a chance to repay you I shall. biggrin.gif




I done it!!!!!!!!!!

God I'm a noob lol I deserve a royal kicking for not knowing that.

p.s If I can repay you I will. Even a paypal donation.

No need for that
I have pass that kind of situation too
that's why I can help you
Glad that i can help you laugh.gif

PS: here is another lesson
Do not double post in the thread use the edit button

This post has been edited by draken29: Jan 11 2010, 08:00 AM


__________________________
[Show/Hide] Profile Card

Profile Card by HayzenTZ


Go to the top of the page
 
+Quote Post
   
vaporate23
post Jan 11 2010, 08:04 AM
Post #15


Level 3
Group Icon

Group: Member
Posts: 40
Type: None
RM Skill: Undisclosed




Sorry, thanks. biggrin.gif
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th June 2013 - 02:57 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker