Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • A key problem too a door
« previous next »
  • Print
Pages: [1]

Author Topic: A key problem too a door  (Read 3023 times)

Offline maxine

  • Average scripter
  • Zealot
  • *
  • Posts: 736
  • ¨Dude i am 16 with 2 balls and hair
A key problem too a door
« on: June 22, 2005, 09:19:18 PM »
I have a door at a hotel. I want too rent a room and get a key. I make an custom item called "Key too room 123 ex." Then i canuse the item wherever i want too operate the door. But i want the key too just work when i am at the door.

I´ve just had this game for 2 weeks and i think i have pretty much knowledge but u guys should know this one

Cheers !!!
Logged
Frontline Fighters Platoon Multigaming Clan

Offline darkrune

  • The Man
  • Acolyte
  • *
  • Posts: 329
  • Ummmmm just kinda of regular guy.
(No subject)
« Reply #1 on: June 22, 2005, 09:28:23 PM »
Ok, heres what you do.
When you get the item go to the door. Make the door and go to the event under preconditions make it so you can only acess it with the item the key. Then make it to do what you want. :)
Logged

Offline maxine

  • Average scripter
  • Zealot
  • *
  • Posts: 736
  • ¨Dude i am 16 with 2 balls and hair
(No subject)
« Reply #2 on: June 22, 2005, 09:33:48 PM »
hmmm i think u dont get it... Or i aint hehe.

Here i mean: I create item "KEY" when i recieve key. I can use it whenever i enter the menu and press the "KEY" item....

So the door is locked untill i use that item but i can use it everywhere....

I can do it like this

Door:page 1 "its locked" page2 "you used the key"

Cashier: page 1 "here is the key for your room sir" Switch operation "Door page 2"...... Page 2 "you already have a key"..

But then i wont have a key in my item when she says that.

Hope u get my switch thing up here
Logged
Frontline Fighters Platoon Multigaming Clan

Offline Slippy_Gonzalez

  • [ Espa-Mancer ]
  • Initiate
  • *
  • Posts: 83
  • [ Espa-Mancer ]
    • "My Myspace If Your Interested"
(No subject)
« Reply #3 on: June 22, 2005, 09:37:59 PM »
I guess....you could make the item a switch.....when you go to the door, you activate a switch that opens the door...but only if you have the item Key.
Logged

Offline maxine

  • Average scripter
  • Zealot
  • *
  • Posts: 736
  • ¨Dude i am 16 with 2 balls and hair
(No subject)
« Reply #4 on: June 22, 2005, 09:46:58 PM »
hmmm yes i think i can fix this problem.
Logged
Frontline Fighters Platoon Multigaming Clan

Offline ZeroKirbyX

  • has died of dysentery.
  • Sage
  • *
  • Posts: 6,132
  • Boop a Doop a Doop
(No subject)
« Reply #5 on: June 22, 2005, 09:47:57 PM »
Okay, here goes:
Cashier-
Page 1- Message: Here's the key to your room
            Inventory: Add "Room Key"
Page 2- Check Item box and select "Room Key"
            Message: I'm sorry sir, you already have a key

Door-
Page 1- Message: You can't get in without the key
Page 2- Check Item box and select "Room Key"
            Change event graphic to Blank
            If you want to get rid of the key when you open the door, add
            Inventory: take "Rom Key"
Logged

Offline maxine

  • Average scripter
  • Zealot
  • *
  • Posts: 736
  • ¨Dude i am 16 with 2 balls and hair
(No subject)
« Reply #6 on: June 22, 2005, 09:51:10 PM »
thnanks pretty helpful !
Logged
Frontline Fighters Platoon Multigaming Clan

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • A key problem too a door
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum