Command : Dialog
Usage : Dialog {[character_handle$],[dialog]}
Parameters : N/A
Returns : None.
Platform : Explorations
Details :

The Dialog command allows the author to display text over an NPC’s characters head. A continue button will be shown so the game play can continue after the text is read.









Command : DoesWeatherExist
Usage : DoesWeatherExist {[handle$]}
Parameters : N/A
Returns : N/A
Platform : Explorations
Details :

The DoesWeatherExist{} command will check for the existance of a given weather zone handle. If the zone handle is not in use FALSE is returned on the SCR_BOOLEAN% variable.









Command : DropItem
Usage : DropItem {[object_type%,object_record%]}
Parameters : N/A
Returns : None.
Platform : Explorations
Details :

This command will force the current character to put down an object. All the needed animations are automatically shown and the Put-Down_ObjectName script event is triggered. The object type specifies the type of object being put down. The object types are as follows: 0 - Skills Database 1 - Armor Database 2 - Weapons Database 3 - Equipment Database 4 - Spells Database 5 - Special Database









Command : Display
Usage : Display {[gfx_file$],[%bmpx,%bmpy]}
Parameters : N/A
Returns : None.
Platform : Explorations
Details :

This command will display a bitmap graphic on the screen. The bitmap form will be loaded and displayed so that the author may select the placement of the picture. After the form is placed where the author would like it to appear, click the [Done] button and the command is displayed.









Command : DialogMsg!
Usage : DialogMsg! {[dialog]}
Parameters : N/A
Returns : None.
Platform : Explorations
Details :

This command will display text in the scrolling story dialog. This command acts as the story narrator.









Command : DialogMsg
Usage : DialogMsg {[dialog]}
Parameters : N/A
Returns : None.
Platform : Explorations
Details :

This command will display text in the scrolling story dialog. This command acts as the story narrator.









Command : Dice
Usage : Dice {[# rolls%]}
Parameters : N/A
Returns : When this command is executed a value of 1-100 is stored in the SCR_DICE% variable.
Platform : Explorations
Details :

This command will generate a random dice roll. This command can be used to generate a dice roll up to a 100 sided dice.









Command : Dice
Usage : Dice {[d20]}
Parameters : N/A
Returns : When this command is executed a value of 1-20 is stored in the SCR_DICE% variable.
Platform : Explorations
Details :

This command will generate a random dice roll. This command can be used to generate a dice roll up to a 20 sided dice.









Command : DelVarsLike
Usage : DelVarsLike {[variable_prefix]}
Parameters : N/A
Returns : None.
Platform : Explorations
Details :

This command will delete variables that have similar names. For example, when an Exploration game ends the system executes a DelVarsLike{'SCRIPT_'} command that will delete ALL the variables that begin with 'SCRIPT_'. The power of this command is to allow you to declare a group of variables with a similar naming structure and then remove all of them from memory when your script is complete. Be careful when using this command.









Command : DoesVarExist
Usage : DoesVarExist {[variable]}
Parameters : N/A
Returns : N/A
Platform : Explorations
Details :

This commands allows the GM to detect if a variable exists, or adjust the value of existing variables. Under the Explorations system (%) variables denote a Long datatypes, (!) variables hold Single Precision, and ($) hold String values.









Command : DelVar
Usage : DelVar {[variable]}
Parameters : N/A
Returns : None.
Platform : Explorations
Details :

This command will delete a variable that you have declared within the Explorations script system. The command is very powerful and can be used to delete system variable. Be careful when using this command.









Command : DelRecord
Usage : DelRecord {[record%],[record_size%],[filename$]}
Parameters : N/A
Returns : None.
Platform : Explorations
Details :

This command will delete a database record, specified by record%, from an external database specified by the given filename. A complete drive and path must be given for this filename. The record size can be one of three contant system types, depending on the type of database records you are attempting to count. Use 'LEN_OBJECT%', 'LEN_CHARACTER%', 'LEN_MAP%' data constants to read records from object, character, and map databases respectively.









Command : DRAGOFF
Usage : DRAGOFF
Parameters : none
Returns : none
Platform : eMotions
Details :

The DRAGOFF command will disable any MouseDraggin events.









Command : DIRCHANGE
Usage : DIRCHANGE = {DIR}, {COUNT}
Parameters : {DIR} = New direction
{COUNT} = duration to get there.
Returns : none
Platform : eMotions.ObjectProperty
Details :


DITHER eMotions.ObjectProperty none
DITHERCHANGE eMotions.ObjectProperty none
DOEVENTS eMotions DOEVENTS none none The DOEVENTS command will release your system back to windows for a moment to process system messages.









Command : DELVALSWITH, DELVARSWITH
Usage : N/A
Parameters : N/A
Returns : none
Platform : eMotions
Details :

The DELVALSWITH command will batch delete a group of variables whose name contains a specific word. This word can be anywhere within the name of the variable, and is not case sensitive.









Command : DELVALSLIKE, DELVARSLIKE
Usage : DELVALLIKE {}
Parameters : = MYGAME_
Returns : none
Platform : eMotions
Details :

The DELVALSLIKE command will batch delete a group of variables with the specified prefix.









Command : DELVAL, DELVAR
Usage : DELVAL {}
Parameters : = MYGAME_TITLE$
= Legends of Lore
Returns : none
Platform : eMotions
Details :

The DELVAL command will delete a variable declared in memory.









Command : DEBUG
Usage : DEBUG = {BOOLEAN}
Parameters : BOOLEAN = TRUE / FALSE
Returns : none
Platform : eMotions
Details :

The DEBUG statement enables the eMotions debug log process. As eMotions scripts are processed a log file is generated to detect script and system errors during execution.









Command : DAYS/YEAR
Usage : DAYS/YEAR = {value}
Parameters : {value} = number of days per year.
Returns : none
Platform : eMotions
Details :

The command will set the number of days per year. (The length of time for a calender year.)









Command : DAY
Usage : DAY = {value}
Parameters : {value} = 1 - infinity
Returns : none
Platform : eMotions
Details :

The command will set the current day within eMotions. This values is the ongoing day counter since the beginning of time withing the world of eMotions