DAINTYBOOTS'S PROFILE

Search

Filter

Help making a Cellphone item?

I managed to get it working! I ended up not using the Memorize BGM command, so I don't think I did it efficiently but at this point I'm just happy that it works the way I want.
What I ended up doing was making a switch that would turn on when the phone was "in use" and turn off the BGM.
@bulma: That is actually a really good idea that sounds a lot simpler than the web of conditional branching I was planning, haha. Thank you!

Help making a Cellphone item?

As the title suggests, I'm trying to make an in-game cellphone.
Right now I have it as a Common Event in the Database.

(not pictured: i do turn switch 0003 off under the "Put Away" option, i was still messing with the script when i took the screenshot haha)

My concern is with the "Play Ringtone" option and there are two problems with it.
1) When I do NOT have another BGM currently playing, it does play the ringtone but I'd like to be able to stop the ringtone prematurely so that it doesn't keep looping if I choose another option.
2) When I DO have another BGM playing, choosing "Play Ringtone" refreshes the current song (eg, playing song1.wav from the beginning instead of playing cutesypirate.wav). I'd like for the BGM to stop while the ringtone is playing and restart again after the cellphone is put away.

I'd also like for "Play Ringtone" to change to "Stop Ringtone" while the tune is playing. How would I go about doing this?

Thank you in advance!

EDIT: added a bit more information for clarity

rm2k3 - need help moving rock over terrain

@Trihan: Thanks, anyway!
@Link_2112: What the heckie. I get it but I think I prefer your other way, haha.

rm2k3 - need help moving rock over terrain

author=Trihan
Have a conditional branch that checks which direction the boulder is being pushed in. Turn on a switch then check the terrain for each tile four places in that direction from the boulder's position. If it's a passable type and the switch is on, increment a variable by 1. If it's not, turn the switch off. Then have a loop that moves the boulder one space in the pushed direction and decrements the variable by 1, with a conditional branch that breaks the loop if the variable's value is 0.

Basically what you'll end up with is an event that only moves the boulder as many spaces as it has passable terrain in which to do so.

A lot of that went over my head, haha. Truthfully, I haven't even touched loops yet so I don't really know how to go about making them work in the way you described...
While Link_2112's method works the way I had intended, I'd still love to see the actual script of your example, if that's not too much trouble! I'm very much a visual learner and seeing another method would help a ton.

rm2k3 - need help moving rock over terrain

author=Trihan
Will possession of the Force Staff always cause the rock to move exactly four tiles?
Yes that was the plan. Link_2112 helped me get it so that it would only phase through a certain type of terrain (water, etc) and behave like a physical object when that terrain isn't in its path.
So I guess now the answer is really "Yes, unless there is something in the way." Which I guess works out better, haha.

rm2k3 - need help moving rock over terrain

author=MakoInfused
You need to use the "through" (or "phasing mode") command inside of that move event.

Ah!! It worked perfectly! Thank you very, very much!!! :^)

rm2k3 - need help moving rock over terrain

So this is what I have:


(the speed is just to make the movement look a little nicer haha)
Unobstructed, it works perfectly fine. However, the goal is to force the Rock over terrain that the player can't cross (in this case it's a river) in order to activate a pressure plate on the other side. What would I have to do?
Thank you very much in advance!

rm2k3 - need help making a puzzle...

NEVERMIND I MANAGED TO GET IT WORKING!!! :^)

rm2k3 - need help making a puzzle...

author=Trihan
Have a parallel process on the map somewhere that sets two variables to the X and Y coordinates of the NPC. Then have a conditional branch that checks whether the X and Y values are the same as the map position of the plate, and if so the NPC is standing on it.

Okay I just tried this but it didn't work? I'm really new to Rpg Maker so I honestly don't know what I did wrong. Here's an image of the code:

I also have the trigger set to Parallel Process like you said.
Clarification in case you ask: those are the coordinates of the plate (I double- and triple-checked haha), the switch operation is also set to the same value as the pressure plate, and I made sure nothing else shares the same variable or switch value.
Thank you, and thank you again in advance!

rm2k3 - need help making a puzzle...

I want to have a puzzle that opens a door when multiple pressure plates are activated at the same time. I already have the NPC coded to move where I direct it and follow the player on command. I also already have the plates set to activate when the player is standing on them (and I'm pretty sure I can figure out how to turn them off after you walk away).
So my question is: how do I get the pressure plates to activate when the NPC is standing on them?
Pages: 1