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 | 
 

 Commanding Characters

View previous topic View next topic Go down 
AuthorMessage
catventure
Admin Adventurer
avatar

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

PostSubject: Commanding Characters   Mon 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.

_________________
http://tab.thinbasic.com ; Home of the TAB I.F. project.
Back to top Go down
View user profile http://adventure.rpgdynasty.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: