| Command : | Facing! |
| Usage : | Facing! {[character_handle$],[direction$]} |
| Parameters : | N/A |
| Returns : | None. |
| Platform : | Explorations |
| Details : | |
The Facing! command instructs a PC/NPC to face in a specific direction. The character will rotate in the fewest intervals to arrive in the direction requested. The Facing! command differs from the Facing command in that it will force the system to wait until the character has reached the expected direction before the script engine will continue execution. |
|
| Command : | Facing |
| Usage : | Facing {[character_handle$],[direction$]} |
| Parameters : | N/A |
| Returns : | None. |
| Platform : | Explorations |
| Details : | |
The Facing command instructs a PC/NPC to face a specific PC/NPC by handle. The character will rotate in the fewest intervals to arrive in the direction requested. |
|
| Command : | FaceCHR! |
| Usage : | FaceCHR! {[character_handle$],[handle$]} |
| Parameters : | N/A |
| Returns : | None. |
| Platform : | Explorations |
| Details : | |
The Facing command instructs a PC/NPC to face a specific character. The character will rotate in the fewest intervals to arrive in the direction requested. |
|
| Command : | FaceCHR |
| Usage : | FaceCHR {[character_handle$],[handle$]} |
| Parameters : | N/A |
| Returns : | None. |
| Platform : | Explorations |
| Details : | |
The Facing command instructs a PC/NPC to face a specific character. The character will rotate in the fewest intervals to arrive in the direction requested. |
|
| Command : | Find_PerpLocation |
| Usage : | Find_PerpLocation {[startx,starty],[direction$],[range]} |
| Parameters : | N/A |
| Returns : | N/A |
| Platform : | Explorations |
| Details : | |
Find_PerpLocation Explorations Find_PerpLocation {[x_start%],[y_start%],[direction$],[range]} Find_PerpLocation Explorations Find_PerpLocation {[stepx,stepy],[direction$],[steprange]} Find_ProjLocation Explorations Find_ProjLocation {[startx,starty],[direction$],[range]} Find_ProjLocation Explorations Find_ProjLocation {[x_start%],[y_start%],[direction$],[range]} Find_ProjLocation Explorations Find_ProjLocation {[stepx,stepy],[direction$],[steprange]} SuccessCheck Explorations SuccessCheck {[# rolls%],[dest_variable%]} This command will set SCR_BOOLEAN% to SYS_TRUE% if the check was a success. This command will perform a percentage based chance of success roll against any character stats. The GM must specify the number of rolls and the stat being reviews. The first roll that is lower than the stat value will yield a success. |
|
| Command : | Find_ClosestLocation |
| Usage : | Find_ClosestLocation {[x_start%],[y_start%],[scan_radius%]} |
| Parameters : | N/A |
| Returns : | N/A |
| Platform : | Explorations |
| Details : | |
This command will find the closest location the the location provided if there is something currently in the location given. This command is executed by default within the movement sequences. |
|
| Command : | Find_ClosestLocation |
| Usage : | Find_ClosestLocation {[startx,starty],[scan_radius%]} |
| Parameters : | N/A |
| Returns : | N/A |
| Platform : | Explorations |
| Details : | |
This command will find the closest location the the location provided if there is something currently in the location given. This command is executed by default within the movement sequences. |
|
| Command : | Find_NearestCHR |
| Usage : | Find_NearestCHR {[x_start%],[y_start%],[scan_radius%]} |
| Parameters : | N/A |
| Returns : | If a PC/NPC is found within the area the system will return the location of the nearest PC or NPC within 'SCR_X%', and 'SCR_Y%' and the handle of the PC/NPC within 'SCR_HANDLE$' |
| Platform : | Explorations |
| Details : | |
This command scans the given location for a specified radius for any PC or NPC's within the area. |
|
| Command : | Find_NearestCHR |
| Usage : | Find_NearestCHR {[startx,starty],[scan_radius%]} |
| Parameters : | N/A |
| Returns : | If a PC/NPC is found within the area the system will return the location of the nearest PC or NPC within 'SCR_X%', and 'SCR_Y%' and the handle of the PC/NPC within 'SCR_HANDLE$' |
| Platform : | Explorations |
| Details : | |
This command scans the given location for a specified radius for any PC or NPC's within the area. |
|
| Command : | Find_NearestNPC |
| Usage : | Find_NearestNPC {[x_start%],[y_start%],[scan_radius%]} |
| Parameters : | N/A |
| Returns : | If a NPC is found within the area the system will return the location of the nearest NPC within 'SCR_X%', and 'SCR_Y%' and the handle of the NPC within 'SCR_HANDLE$' |
| Platform : | Explorations |
| Details : | |
This command scans the given location for a specified radius for any NPC's within the area. |
|
| Command : | Find_NearestNPC |
| Usage : | Find_NearestNPC {[startx,starty],[scan_radius%]} |
| Parameters : | N/A |
| Returns : | If a NPC is found within the area the system will return the location of the nearest NPC within 'SCR_X%', and 'SCR_Y%' and the handle of the NPC within 'SCR_HANDLE$' |
| Platform : | Explorations |
| Details : | |
This command scans the given location for a specified radius for any NPC's within the area. |
|
| Command : | Find_NearestPC |
| Usage : | Find_NearestPC {[x_start%],[y_start%],[scan_radius%]} |
| Parameters : | N/A |
| Returns : | If a PC is found within the area the system will return the location of the nearest PC within 'SCR_X%', and 'SCR_Y%' and the handle of the PC within 'SCR_HANDLE$' |
| Platform : | Explorations |
| Details : | |
This command scans the given location for a specified radius for any PC's within the area. |
|
| Command : | Find_NearestPC |
| Usage : | Find_NearestPC {[startx,starty],[scan_radius%]} |
| Parameters : | N/A |
| Returns : | If a PC is found within the area the system will return the location of the nearest PC within 'SCR_X%', and 'SCR_Y%' and the handle of the PC within 'SCR_HANDLE$' |
| Platform : | Explorations |
| Details : | |
This command scans the given location for a specified radius for any PC's within the area. |
|
| Command : | Find_NearestGRP |
| Usage : | Find_NearestGRP {[map_object],[startx,starty]} |
| Parameters : | N/A |
| Returns : | If a MapGroup is found within the area the system will return the location of the nearest object within 'SCR_X%', and 'SCR_Y%' and the handle of the MapGroup within 'SCR_HANDLE$' |
| Platform : | Explorations |
| Details : | |
This command scans the given location for a specified radius for any MapGroups within the area. |
|
| Command : | Find_Cover |
| Usage : | Find_Cover {[x_start%],[y_start%],[x_coordinate%],[y_coordinate%],[scan_radius%]} |
| Parameters : | N/A |
| Returns : | When this command is complete, the system will return a SYS_TRUE% within the 'SCR_BOOLEAN%' system variable. The location that is not in view of (x_coordinate%, ycoordinate%) will be stored in 'SCR_X%', 'SCR_Y%' respectively. And the polar movement commands will be stored within 'SCR_MOVEPATH$' |
| Platform : | Explorations |
| Details : | |
This command will scan the radius from the map location given by (x_start%, y_start%) to see if there is a location that is NOT within view of (x_coordinate%, ycoordinate%). |
|
| Command : | Find_Cover |
| Usage : | Find_Cover {[startx,starty],[endx,endy],[scan_radius%]} |
| Parameters : | N/A |
| Returns : | When this command is complete, the system will return a SYS_TRUE% within the 'SCR_BOOLEAN%' system variable. The location that is not in view of (x_coordinate%, ycoordinate%) will be stored in 'SCR_X%', 'SCR_Y%' respectively. And the polar movement commands will be stored within 'SCR_MOVEPATH$' |
| Platform : | Explorations |
| Details : | |
This command will scan the radius from the map location given by (x_start%, y_start%) to see if there is a location that is NOT within view of (x_coordinate%, ycoordinate%). |
|
| Command : | Find_Path |
| Usage : | Find_Path {[x_start%],[y_start%],[x_end%],[y_end%]} |
| Parameters : | N/A |
| Returns : | When this command is executed correctly, the system will return a SYS_TRUE%, within the 'SCR_BOOLEAN%' system variable and the polar movement commands within the 'SCR_MOVEPATH$' |
| Platform : | Explorations |
| Details : | |
This command will calculate the movement path between two locations. |
|
| Command : | Find_Path |
| Usage : | Find_Path {[startx,starty],[endx,endy]} |
| Parameters : | N/A |
| Returns : | When this command is executed correctly, the system will return a SYS_TRUE%, within the 'SCR_BOOLEAN%' system variable and the polar movement commands within the 'SCR_MOVEPATH$' |
| Platform : | Explorations |
| Details : | |
This command will calculate the movement path between two locations. |
|
| Command : | Find_LinkObj |
| Usage : | Find_LinkObj {[object_name$]} |
| Parameters : | N/A |
| Returns : | If a matching object is found the 'SCR_BOOLEAN%' is set to SYS_TRUE%. The 'SCR_OBJTYPE%' is set to the corresponding object database type. The 'SCR_OBJINDEX%' is set to the current objects list index, and the 'SCR_RECORD%' is set to the corresponding external database record. |
| Platform : | Explorations |
| Details : | |
This command will search the current object record list of linked objects for an object matching the |
|
| Command : | Find_ObjInFile |
| Usage : | Find_ObjInFile {[object_name$],[database_filename$]} |
| Parameters : | N/A |
| Returns : | If this command is successful the engine will return SCR_BOOLEAN% to SYS_TRUE% and SCR_RECORD% equal to the record within the database file equivalent to the name being searched. If the record was not fould SCR_RECORD% = -1. |
| Platform : | Explorations |
| Details : | |
Find_ObjOnChar Explorations Find_ObjOnChar {[object_name$]} When a match is found on the current character the 'SCR_BOOLEAN%' system variable will be set to SYS_TRUE%, the 'SCR_OBJTYPE%' will be set to the object database type, and 'SCR_OBJINDEX%' will be set to the object index. This function will search the current character for an object that matched the |
|
| Command : | For |
| Usage : | For {[dest_variable%] = 1 TO [value1%]} |
| Parameters : | N/A |
| Returns : | None. |
| Platform : | Explorations |
| Details : | |
Execute Explorations Execute {[filename$], [async]} None. This command will execute an eMotions script file. |
|
| Command : | FindTimeScript |
| Usage : | FindTimeScript {[script_title$]} |
| Parameters : | N/A |
| Returns : | SCR_BOOLEAN% SCR_HANDLE$ SCR_RECORD% |
| Platform : | Explorations |
| Details : | |
The FindTimeScript{} command will scan the timed script database for the given script chapter. |
|
| Command : | FindRelScript |
| Usage : | FindRelScript {[script_title$]} |
| Parameters : | N/A |
| Returns : | SCR_BOOLEAN% SCR_HANDLE$ SCR_RECORD% |
| Platform : | Explorations |
| Details : | |
The FindRelScript{} command will scan the relative script database for the given script chapter. |
|
| Command : | FindMapScript |
| Usage : | FindMapScript {[script_title$]} |
| Parameters : | N/A |
| Returns : | SCR_BOOLEAN% SCR_HANDLE$ SCR_RECORD% |
| Platform : | Explorations |
| Details : | |
The FindMapScript{} command will scan the map script database for the given script chapter. |
|
| Command : | FRICTION |
| Usage : | FRICTION = {VALUE} |
| Parameters : | N/A |
| Returns : | none |
| Platform : | eMotions.ObjectProperty |
| Details : | |
GAMETITLE eMotions GAMETITLE = {TITLE} TITLE = Text none The GAMETITLE command allows you to set the caption of the eMotions rendering window. |
|
| Command : | FRAMES |
| Usage : | FRAMES = {hF, vF, #F, AnmI} |
| Parameters : | N/A |
| Returns : | none |
| Platform : | eMotions.ObjectProperty |
| Details : | |
The FRAMES parameter is used for SPRITE graphics objects only. It specifies the number of horizontal and vertical frames within the graphic IMAGE parameter for SPRITE objects. Once these properties are set, eMotions can reference individual frame animations by using the INSTANCE or ANIM parameters. The #F property specifies the number of sequential frames within the SPRITE sheet for constitute a complete animations sequence. A SPRITE sheet should have all the animation sequences in order of direction where applicable, so they can be referenced in logical order. The ANIMI property is used to set the animation interval for the sprite animation. The animation interval is the speed at animation frames play relative to the frames per second of eMotions. Generally eMotions operates between 40 - 60 frames per second. |
|
| Command : | FONTCOLOR |
| Usage : | FONTCOLOR = {color} |
| Parameters : | {color} = &H color value |
| Returns : | none |
| Platform : | eMotions.ObjectProperty |
| Details : | |
The FONTCOLOR parameter controls the color of the CAPTION text as it is rendered. |
|
| Command : | FONT |
| Usage : | FONT = {FONTNAME} |
| Parameters : | FONTNAME = |
| Returns : | none |
| Platform : | eMotions.ObjectProperty |
| Details : | |
The FONT command specifies the default FONT eMotions will use when text is displayed. eMotions v2.5 can now use any of the system fonts available to the windows operating system. ARIAL SANSSMALL BARD TERMINALSMALL COURIERNEW VERDANASMALL CALLIGRAPHY SMALLFONT GEORGIA TAHOMA VERDANA |
|