Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > Zelaron Gaming > RPGMaker

 
 
Thread Tools Display Modes

 
Question Event Help
Reply
Posted 2005-02-13, 08:02 PM
How do you stop and event after you make it like i tried to erase it so when you go back to the same place it wont happen again but if you leave the area transition and go back in then go to the event its still there ?

Just ending events so they only happen once then they do or say somthing else
Old
Profile PM WWW Search
boginziliac is neither ape nor machine; has so far settled for the in-betweenboginziliac is neither ape nor machine; has so far settled for the in-between
 
boginziliac
 



 
Reply
Posted 2005-02-13, 09:33 PM in reply to boginziliac's post "Event Help"
Everytime this question comes up, I throw out the old treasure chest example. You only want it activated once, and every other time you try it, it'll say "Empty". In that case, it's easy - it's simply a two-page event.

=============================

I'll do this in pseudocode.

Page 1 (activated on button press, graphic is a closed treasure chest, no preconditions):

<> Message "You got 300 Gold!"
<> Add 300 Gold to stash
<> Turn switch [xxxx:Treasure0001 Opened] ON
<>

Page 2 (activated on button press, graphic is an open treasure chest, precondition of Switch [xxxx:Treasure0001 Opened] is ON.)

<> Message "Empty!"
<>

===============================

Very, very simple. The switch ensures that the event will not run the first page again.

If you already knew all about switches/preconditions, I'm going to guess that you used a local switch (RMXP only) incorrectly. Doing them in the following order is incorrect:

<> Teleport to Map 2
<> Turn Local Switch A to ON
<>

Because that will actually set map 2's "Local Switch A" to ON and not for the current map.

---

If none of this applies, I'm going to guess that it's an error involving your switches. Make sure you're setting the correct switch at the end of the event, and also make sure the precondition switch is correct. Also check to make sure that no other events are messing around with that switch - overlapping switches are tough to detect sometimes.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2005-02-14, 02:47 AM in reply to BlueCube's post starting "Everytime this question comes up, I..."
Wow...that's a weird way of doing things...

Though then again...my ways are always weird...

I end up with a switch for every treasure chest (Aiiee! Crazy ) and just have conditional branches for every treasure chest:

If Switch 001: Treasure chest TopLeft Map 1 is OFF

then you can open the treasure chest, which in turn switches the switch (001) on.

If it is ON, then you can't open the treasure chest...

----------

Which Rpg Maker you using boginziliac?
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 
Reply
Posted 2005-02-14, 02:01 PM in reply to Lenny's post starting "Wow...that's a weird way of doing..."
That's what I do, only I do it on two pages instead of one. Not sure which is faster to the engine, it would take several thousand openings to determine that.. but I'm guessing another page would be faster, as it checks the highest page first anyway, and doesn't have to calculate the branch result. Complete speculation on my part, though, so who knows for sure.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2005-02-14, 03:04 PM in reply to BlueCube's post starting "That's what I do, only I do it on two..."
I'd say that you'd know better than me...

It's boginziliac's choice. Either hundreds of switches, or lots of multipages...
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 
 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 02:22 PM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.