RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[RESOLVED] event to not dismount on non-dismountable areas/tiles

0 Members and 1 Guest are viewing this topic.

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
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!
« Last Edit: July 24, 2007, 04:42:42 PM by modern algebra »

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Best Member2012 Best RPG Maker User (Scripting)2012 Favorite Staff Member2012 Most Mature MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Most Mature Member2010 Favourite Staff Member
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.

*
Rep:
Level 88
Something something events
Project of the Month winner for December 2008
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.



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


****
Rep:
Level 88
PSP
so is it now working :D

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
@modern algebra
Quote
Also, 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.
« Last Edit: July 04, 2007, 08:54:41 PM by grafikal007 »

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Best Member2012 Best RPG Maker User (Scripting)2012 Favorite Staff Member2012 Most Mature MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Most Mature Member2010 Favourite Staff Member
You can do it, just use a Set Move Route Command, Player, Stop Animation ON

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
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.
« Last Edit: July 05, 2007, 05:07:37 AM by grafikal007 »