TAB - thinBasic Adventure Builder

T.A.B. is an interactive fiction/text adventure program for Windows and made with thinBasic.
 
HomeFAQSearchUsergroupsRegisterLog in
Latest topics
» TAB Version 66 Available
Mon Sep 26, 2016 12:02 pm by catventure

» TAB Version 65 Available
Mon Feb 23, 2015 12:04 pm by catventure

» Incubation pt 1
Wed Apr 24, 2013 9:24 am by Kabrinski

» Charecter movements - doors
Wed Mar 20, 2013 2:55 pm by garethfx

» Member feedback on game planning
Sun Mar 03, 2013 1:47 pm by garethfx

» Still alive - just!
Thu Feb 28, 2013 11:34 am by catventure

» TAB 64 crashes ...
Mon Aug 20, 2012 11:31 am by acko

» Idea on addition to object being container
Sat Aug 18, 2012 3:49 pm by catventure

» sizex=y action ...
Thu Aug 09, 2012 11:29 am by catventure


Share | 
 

 door example

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


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

PostSubject: door example   Sat 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
View user profile
catventure
Admin Adventurer
avatar

Male
Number of posts : 376
Age : 65
Location : UK
Humor : Enjoys a laugh!
Adventure Points : 52
Registration date : 2008-06-08

PostSubject: Re: door example   Sat 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.

_________________
http://tab.thinbasic.com ; Home of the TAB I.F. project.
Back to top Go down
View user profile http://adventure.rpgdynasty.com
catventure
Admin Adventurer
avatar

Male
Number of posts : 376
Age : 65
Location : UK
Humor : Enjoys a laugh!
Adventure Points : 52
Registration date : 2008-06-08

PostSubject: Re: door example   Fri 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

_________________
http://tab.thinbasic.com ; Home of the TAB I.F. project.
Back to top Go down
View user profile http://adventure.rpgdynasty.com
Sponsored content




PostSubject: Re: door example   

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: