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
Commanding Characters I_icon_minitimeToday at 9:54 am by catventure

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

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

» Incubation pt 1
Commanding Characters I_icon_minitimeSun Nov 17, 2024 4:22 pm by catventure

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

» TAB Version 71
Commanding Characters I_icon_minitimeMon Aug 21, 2023 12:17 pm by catventure

» TAB Version 70
Commanding Characters I_icon_minitimeSun Oct 02, 2022 1:49 pm by catventure

» TAB Version 70
Commanding Characters I_icon_minitimeFri Sep 30, 2022 10:23 pm by catventure

» TAB Version 70
Commanding Characters I_icon_minitimeMon May 23, 2022 4:08 pm by catventure


Share | 
 

 Commanding Characters

View previous topic View next topic Go down 
AuthorMessage
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

Commanding Characters Empty
PostSubject: Commanding Characters   Commanding Characters I_icon_minitimeMon Aug 18, 2008 3:46 pm

Hello.

Included with the thinBasic Adventure Builder download is a database called “char_commands_demo.tab” which demonstrates giving commands and orders to Characters (made in the Character Editor)

Below is the syntax and types of commands acceptable for communicating with them


To command characters in TAB use the format:

>say to <character>, <command>

For example:
>say to farmer, get knife

The default entries allow gameplayers to command all characters to get, drop, wear and remove items, follow you, stop following, go in a direction, get objects out of containers, put objects into containers, get all, drop all, wear all, remove all, get all out of a container, drop all into a container, talk to another character. Also you can:

>say to <character>, hello
>say to <character>, inventory (or ‘i’),
>say to <character>, wait

The adventure player can now give objects to characters and also ask them to give you objects. You can even command them to give an object to another character!

EXAMPLES:

>say to farmer, hello
>say to farmer, get the knife
>say to jim, go north
>say to bill, put the knife into the box
>say to farmer, inventory
>say to farmer, get all
>say to farmer, drop the lamp
>say to farmer, talk to <character>
>say to robot, follow (or; follow me)
>say to robot, stop following (or; stop following me)
>say to jim, give knife to bill
>say to bill the policeman, give everything to me
>say to joseph, se
>say to robot, take everything out of the box
>say to joseph the farmer, take everything except the knife out of the box
>say to jim, drop all but the lamp
>say to farmer, give the lamp to me

If the character is not in your location/room then of course you will be told so; likewise you will be informed if the character is unable to carry out your command.

You can even tell a character to perform multiple commands! eg:

>say to <character>, go north and get the box then south and give the box to me

>say to <character>, get all but the knife then go north and give everything to jim then go south and follow me

The characters understand it/them/him/her so you can type:

>say to smith, get lamp and give it to jones

The characters understand the ‘again’ or ‘g’ command:

>say to giant, pull lever,g,g

Finally the player can give items to characters:

>give rope to smith

>give all to randles then say to smith, give all to randles

Each command carried out by a character will cost 1 turn of the game. If for any reason the character does not understand a command or cannot execute a command, you will be informed so and the character will cease to act on any possible further command instructions given in that input.

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

Commanding Characters

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: