The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: Grafikal on July 03, 2007, 08:07:41 PM

Title: [RESOLVED] event to not dismount on non-dismountable areas/tiles
Post by: Grafikal on July 03, 2007, 08:07:41 PM
http://www.sendspace.com/file/ls5q3e (http://www.sendspace.com/file/ls5q3e)

that's the link to the quick demo. if you go in and play it, you'll realize you can get on a flying mount to do a short quest.

i'm pretty damn good at eventing, but for some reason... i can't get this 'seemingly simple' event to work.

my problem:
you can dismount, [i have that covered], i just can't get it so that you can't dismount over the gap between the cliffs. as of right now, you're able to get off the mount in the gap... but if you do that, you can't move... so you end up having to start it up again. [don't be alarmed tho, its one map and the whole thing (if you don't get off the mount over the crack) is about 1 minute long.]

i was hoping some one better than me at eventing could go in and check out what i've got and perhaps post how i can fix it specifically. thx a lot!
Title: Re: -Request- event to not dismount on non-dismountable areas/tiles
Post by: modern algebra on July 04, 2007, 01:07:56 AM
Okay, well, here's what I would do.

I would just replace the upper left transparent tile with another transparent tile and then go into the tileset editor and assign a terrain tag to that new transparent tile (for example, 1). Then in the event you use to dismount, make a conditional branch which only executes that event if the current terrain tag is not 1 (this can be done with variables. Go to Control Variable: Character [Player]: Terrain Tag). If the current terrain tag is not 1, then just play the buzzer sound effect.

Also, turn stop animation on when you are on the dragon. It looks silly otherwise.
Title: Re: -Request- event to not dismount on non-dismountable areas/tiles
Post by: HowlingWinds on July 04, 2007, 09:39:42 AM
Another way to do this is to also restrict the key used to dismount. I took a screeny of what I would do. So I'd make it so you place 'hero touch' events before the gap that turns on the switch, then a event that turns it off.

In the screeny just replace the key: A with Z.

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi69.photobucket.com%2Falbums%2Fi43%2FArlins_pics%2Fomg.jpg&hash=e922fd461a6f08bad8a36cec2af3378c25f9dc95)

but none the less, both ways work. (at least I think mine works... has worked for me in other events like this)

Title: Re: -Request- event to not dismount on non-dismountable areas/tiles
Post by: dollmage on July 04, 2007, 10:48:02 AM
so is it now working :D
Title: Re: -Request- event to not dismount on non-dismountable areas/tiles
Post by: Grafikal on July 04, 2007, 08:40:53 PM
@modern algebra
QuoteAlso, turn stop animation on when you are on the dragon. It looks silly otherwise.

:P yea you're right, except its a player and not an event so i can't just make it like that, and if i make an event that keeps the animation going, i can't move the character >.<


@Howlingwinds
thx :D i'll give it a quick try in a second.
[edit] awesome! it worked! i just have it so you can't dismount on the edges of cliffs.
Title: Re: [resolved] event to not dismount on non-dismountable areas/tiles
Post by: modern algebra on July 04, 2007, 11:14:16 PM
You can do it, just use a Set Move Route Command, Player, Stop Animation ON
Title: Re: [resolved] event to not dismount on non-dismountable areas/tiles
Post by: Grafikal on July 05, 2007, 05:05:34 AM
i'll try it again, but having that in a parallel event keeps me stopped, so does an autoplay event.

[edit] OH hell, what am i thinkin, Modern ur awesome, it worked. i don't know y it didn't before lol, its just dumb sometimes haha.