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.
Request: Inn script

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 88
Its all me
I know there was one posted around here but I cant find it. I'm also not good at all with scripts and how to make them work. People said if you just have one script for the entire game it makes its  size smaller and less laggy. Any help?

Or could I have it so that they get an item (room keys) then the player goes upstairs to the rooms and unless they have keys they wont be able to get in. And once they are in the keys disappear.

***
Rep:
Level 88
Condition Branch>4th page>Item Possessed>Room Key

You don't need a script, just a conditional branch...

Then afterwards:

Change Items>Room key(-1)

And if you want it so they can enter the room as many times as they want aftwerwards...

Switich Operation>(Switch name and ID)on

Then have a conditional branch of:

Conditional branch>Switch(ID) is on

Then under the main part have the teleport, under else have the rest of the system.

That help?
« Last Edit: January 18, 2007, 01:30:09 AM by pliio8 »
Games in progress:
Tome of Arastovia: 7% complete at 2 hours of gametime

*
Rep:
Level 102
2014 Biggest Narcissist Award2014 Biggest Forum Potato2014 Best Non-RM Creator2013 Best Game Creator (Non-RM)2013 Best IRC ChatterboxParticipant - GIAW 112012 Most Successful Troll2012 Funniest Member2012 Best Use Of Avatar and Signature space2012 Best IRC ChatterboxSecret Santa 2012 ParticipantProject of the Month winner for November 2009For being a noted contributor to the RMRK Wiki2010 Most Successful Troll2010 Biggest Forum Couch Potato2010 Best IRC Chatterbox
You could also have

Code: [Select]
<>Conditonal Branch money 80 or more
<>Message: Would you like to stay for 80 gold?
<>Show Choises: Yes, No
: [Yes] Handler
<> Change money - 80
<> Play ME '014 Inn1' 100 100
<> Tint screen (-255,-255,-255) @20
<> Teleport (to room)
<> Wait 20 Frames
<> Tint Screen (0,0,0) @20
<> Change HP. Entire Party. + 9999
<>
: [No] Handler
<> Message: Okay then, have a nice day.
<>
: End
<>
Else Handler
Message: Would you like to stay for 80 gold?
Message: Oh wait, you don't have enough money.
<>
: End
<>

The numbers can be changed.



« Last Edit: January 18, 2007, 01:53:52 AM by Irockman1 »