TAB - thinBasic Adventure Builder
Would you like to react to this message? Create an account in a few clicks or log in to continue.

TAB - thinBasic Adventure Builder

T.A.B. is an interactive fiction/text adventure program for Windows and made with thinBasic.
 
HomeLatest imagesSearchRegisterLog in
Latest topics
» How was it done? Implementing in-game clocks
door example I_icon_minitimeToday at 9:54 am by catventure

» How to engage in intelligent conversation with NPCs?
door example I_icon_minitimeYesterday at 9:01 pm by catventure

» refine player-available gender/name options
door example I_icon_minitimeMon Nov 18, 2024 6:04 pm by catventure

» Incubation pt 1
door example I_icon_minitimeSun Nov 17, 2024 4:22 pm by catventure

» Happy New Year 2024!
door example I_icon_minitimeSun Dec 31, 2023 4:04 pm by catventure

» TAB Version 71
door example I_icon_minitimeMon Aug 21, 2023 12:17 pm by catventure

» TAB Version 70
door example I_icon_minitimeSun Oct 02, 2022 1:49 pm by catventure

» TAB Version 70
door example I_icon_minitimeFri Sep 30, 2022 10:23 pm by catventure

» TAB Version 70
door example I_icon_minitimeMon May 23, 2022 4:08 pm by catventure


Share | 
 

 door example

View previous topic View next topic Go down 
AuthorMessage
sandyrepope
Apprentice Adventurer


Male
Number of posts : 35
Age : 76
Adventure Points : 0
Registration date : 2008-06-10

door example Empty
PostSubject: door example   door example I_icon_minitimeSat Aug 02, 2008 9:05 pm

I got the door working by making a two room example. The problem is that I never did figure out how to make it so that the player can only unlock/lock the door if he is carrying the key.

I'll keep working on that.

Catventure, I was wondering.... after I get the example working (player carrying key) would you like to see it? If so, where could I send it and do I need to zip it?

If you would like to look at it now, it would be ok with me.

Thanks
Sandy
Back to top Go down
catventure
Admin Adventurer
catventure

Male
Number of posts : 410
Age : 72
Location : UK
Humor : Enjoys a laugh!
Adventure Points : 77
Registration date : 2008-06-08

door example Empty
PostSubject: Re: door example   door example I_icon_minitimeSat Aug 02, 2008 9:33 pm

Hi Sandy,

I think I may have made a mistake in the door code in the other post...

"here4" maybe should read "here3" if object 3 is the key...

Anyway better check your game code for that.

here3 - means if the player is carrying or wearing the key or if the key is in the current room

change 'here3' to 'carried3' if the key must specifically be carried by the player to unlock/lock the door.

In that case you must also change the 'absent3' condition to 'notcarr3' in the entries for both rooms as well.

Hopefully this will solve the door problem once and for all - but if you still have problem just post your "door coding entries" below and I will see if I can detect why.

Cheers,
Phil.
Back to top Go down
https://adventure.forumotion.com
catventure
Admin Adventurer
catventure

Male
Number of posts : 410
Age : 72
Location : UK
Humor : Enjoys a laugh!
Adventure Points : 77
Registration date : 2008-06-08

door example Empty
PostSubject: Re: door example   door example I_icon_minitimeFri Aug 08, 2008 10:55 am

The problem with the door code was found to be a flaw in the #else# coding and was fixed in Release 40.2 on 6th August.

The door code now works correctly.

Closing this topic.

catventure
Back to top Go down
https://adventure.forumotion.com
Sponsored content




door example Empty
PostSubject: Re: door example   door example I_icon_minitime

Back to top Go down
 

door example

View previous topic View next topic Back to top 

 Similar topics

+
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
TAB - thinBasic Adventure Builder :: TAB FORUMS :: General Forum-
Jump to: