Difference between revisions of "Actionparts Documentation"
(Created page with "All available actionparts are listed here. Each actionpart is stored as one object in the [http://twiki.visionaire2d.net/index.php?title=Dokumentation_Datenstruktur_/_GameData...") |
|||
Line 11: | Line 11: | ||
! ActionPartString<br /> | ! ActionPartString<br /> | ||
|- | |- | ||
− | | '5': [ | + | | '5': [Actionparts#Else ELSE] |
| - | | - | ||
| - | | - | ||
Line 19: | Line 19: | ||
| - | | - | ||
|- | |- | ||
− | | '6': [ | + | | '6': [Actionparts#End_if ENDIF] |
| - | | - | ||
| - | | - | ||
Line 27: | Line 27: | ||
| - | | - | ||
|- | |- | ||
− | | '10': [ | + | | '10': [Actionparts#Change_scene CHANGE_SCENE] |
| object | | object | ||
| character | | character | ||
Line 38: | Line 38: | ||
'-1': character is looking in opposite direction of object | '-1': character is looking in opposite direction of object | ||
|- | |- | ||
− | | '12': [ | + | | '12': [Actionparts#Change_character CHANGE_CHARACTER] |
| character | | character | ||
| - | | - | ||
Line 46: | Line 46: | ||
| - | | - | ||
|- | |- | ||
− | | '13': [ | + | | '13': [Actionparts#Start_dialog START_DIALOG] |
| dialog | | dialog | ||
| - | | - | ||
Line 54: | Line 54: | ||
| - | | - | ||
|- | |- | ||
− | | '14': [ | + | | '14': [Actionparts#Stop_current_dialog STOP_DIALOG] |
| - | | - | ||
| - | | - | ||
Line 62: | Line 62: | ||
| - | | - | ||
|- | |- | ||
− | | '16': [ | + | | '16': [Actionparts#Quit_current_action EXIT_ACTION] |
| action | | action | ||
| - | | - | ||
Line 71: | Line 71: | ||
| - | | - | ||
|- | |- | ||
− | | '19': [ | + | | '19': [Actionparts#Show_hide_animation SHOW_HIDE_ANIMATION] |
| animation | | animation | ||
| - | | - | ||
Line 86: | Line 86: | ||
| - | | - | ||
|- | |- | ||
− | | '22': [ | + | | '22': [Actionparts#Wait_until_animation_is_finished WAITON_ANIMATION] |
| animation | | animation | ||
| - | | - | ||
Line 94: | Line 94: | ||
| - | | - | ||
|- | |- | ||
− | | '23': [ | + | | '23': [Actionparts#Display_text SHOW_TEXT] |
| text | | text | ||
| character | | character | ||
Line 105: | Line 105: | ||
| - | | - | ||
|- | |- | ||
− | | '24': [ | + | | '24': [Actionparts#Play_sound PLAY_SOUND] |
| - | | - | ||
| - | | - | ||
Line 116: | Line 116: | ||
| - | | - | ||
|- | |- | ||
− | | '30': [ | + | | '30': [Actionparts#Pause MAKE_PAUSE] |
| value | | value | ||
| - | | - | ||
Line 127: | Line 127: | ||
| - | | - | ||
|- | |- | ||
− | | '31': [ | + | | '31': [Actionparts#Send_character_to_object CHARACTER_GOTO] |
| character | | character | ||
| object | | object | ||
Line 136: | Line 136: | ||
| - | | - | ||
|- | |- | ||
− | | '32': [ | + | | '32': [Actionparts#Wait_until_character_stops WAITON_CHARACTER] |
| character | | character | ||
| - | | - | ||
Line 144: | Line 144: | ||
| - | | - | ||
|- | |- | ||
− | | '45': [ | + | | '45': [Actionparts#Set_command SET_COMMAND] |
| button (command) | | button (command) | ||
| - | | - | ||
Line 152: | Line 152: | ||
| - | | - | ||
|- | |- | ||
− | | '46': [ | + | | '46': [Actionparts#Show_scene SHOW_SCENE] |
| scene | | scene | ||
| - | | - | ||
Line 162: | Line 162: | ||
| - | | - | ||
|- | |- | ||
− | | '47': [ | + | | '47': [Actionparts#Send_character_to_position CHARACTER_GOTO_XY] |
| character | | character | ||
| - | | - | ||
Line 171: | Line 171: | ||
'1': wait until character reaches position before processing next action part. | '1': wait until character reaches position before processing next action part. | ||
|- | |- | ||
− | | '48': [ | + | | '48': [Actionparts#Scroll_scene_to_object SCROLL_SCENE] |
| object | | object | ||
| - | | - | ||
Line 180: | Line 180: | ||
| - | | - | ||
|- | |- | ||
− | | '49': [ | + | | '49': [Actionparts#Scroll_scene_to_position SCROLL_SCENE_XY] |
| - | | - | ||
| - | | - | ||
Line 189: | Line 189: | ||
| - | | - | ||
|- | |- | ||
− | | '50': [ | + | | '50': [Actionparts#Set_character_to_an_object SET_CHARACTER_TO_OBJECT] |
| character | | character | ||
| object | | object | ||
Line 198: | Line 198: | ||
| - | | - | ||
|- | |- | ||
− | | '51': [ | + | | '51': [Actionparts#Change_outfit_of_a_character CHANGE_OUTFIT] |
| outfit | | outfit | ||
| - | | - | ||
Line 207: | Line 207: | ||
| - | | - | ||
|- | |- | ||
− | | '52': [ | + | | '52': [Actionparts#Change_comment-set_of_a_character CHANGE_COMMENTSET] |
| commentset | | commentset | ||
| - | | - | ||
Line 215: | Line 215: | ||
| - | | - | ||
|- | |- | ||
− | | '53': [ | + | | '53': [Actionparts#Change_language CHANGE_LANGUAGE] |
| language | | language | ||
| - | | - | ||
Line 223: | Line 223: | ||
| - | | - | ||
|- | |- | ||
− | | '54': [ | + | | '54': [Actionparts#Show.2FHide_person SHOW_CHARACTER] |
| character | | character | ||
| - | | - | ||
Line 233: | Line 233: | ||
| - | | - | ||
|- | |- | ||
− | | '55': [ | + | | '55': [Actionparts#Quit_game QUIT_GAME] |
| - | | - | ||
| - | | - | ||
Line 241: | Line 241: | ||
| - | | - | ||
|- | |- | ||
− | | '56': [ | + | | '56': [Actionparts#Show.2FHide_Interface SHOW_HIDE_INTERFACE] |
| interfaceclass | | interfaceclass | ||
| - | | - | ||
Line 253: | Line 253: | ||
| - | | - | ||
|- | |- | ||
− | | DEPRECATED - '56': [ | + | | DEPRECATED - '56': [Actionparts#Show.2FHide_Interface SHOW_HIDE_INTERFACE] |
| interface | | interface | ||
| - | | - | ||
Line 265: | Line 265: | ||
| - | | - | ||
|- | |- | ||
− | | '58': [ | + | | '58': [Actionparts#Align_character ALIGN_CHARACTER] |
| character | | character | ||
| - | | - | ||
Line 273: | Line 273: | ||
| - | | - | ||
|- | |- | ||
− | | '59': [ | + | | '59': [Actionparts#Change_background_music SET_MUSIC] |
| scene | | scene | ||
| - | | - | ||
Line 281: | Line 281: | ||
| - | | - | ||
|- | |- | ||
− | | '60': [ | + | | '60': [Actionparts#Center_scene_on_character_permanently SET_SCROLLCHARCTER] |
| character | | character | ||
| - | | - | ||
Line 291: | Line 291: | ||
| - | | - | ||
|- | |- | ||
− | | '66': [ | + | | '66': [Actionparts#Play_video PLAY_VIDEO] |
| - | | - | ||
| - | | - | ||
Line 304: | Line 304: | ||
| - | | - | ||
|- | |- | ||
− | | '69': [ | + | | '69': [Actionparts#If_value_then IF_VALUE] |
| value | | value | ||
| value (optional) | | value (optional) | ||
Line 318: | Line 318: | ||
| - | | - | ||
|- | |- | ||
− | | '70': [ | + | | '70': [Actionparts#Set_value SET_VALUE] |
| value | | value | ||
| value (optional) | | value (optional) | ||
Line 331: | Line 331: | ||
| - | | - | ||
|- | |- | ||
− | | '71': [ | + | | '71': [Actionparts#Show_speaker_text SHOW_TEXT_XY] |
| text | | text | ||
| font | | font | ||
Line 342: | Line 342: | ||
| - | | - | ||
|- | |- | ||
− | | '72': [ | + | | '72': [Actionparts#Play_and_loop_sound_infinitely PLAY_LOOPED_SOUND] |
| - | | - | ||
| - | | - | ||
Line 353: | Line 353: | ||
| - | | - | ||
|- | |- | ||
− | | '73': [ | + | | '73': [Actionparts#Stop_currently_playing_sound STOP_SOUND] |
| - | | - | ||
| - | | - | ||
Line 361: | Line 361: | ||
| - | | - | ||
|- | |- | ||
− | | '77': [ | + | | '77': [Actionparts#Change_settings_of_a_currently_playing_sound CHANGE_SOUND_SETTINGS] |
| - | | - | ||
| - | | - | ||
Line 369: | Line 369: | ||
| - | | - | ||
|- | |- | ||
− | | '78': [ | + | | '78': [Actionparts#Jump_to_action_part GOTO] |
| - | | - | ||
| - | | - | ||
Line 379: | Line 379: | ||
| - | | - | ||
|- | |- | ||
− | | '79': [ | + | | '79': [Actionparts#If_character_is_current_character_then IF_CHARACTER] |
| character | | character | ||
| - | | - | ||
Line 387: | Line 387: | ||
| - | | - | ||
|- | |- | ||
− | | '80': [ | + | | '80': [Actionparts#Remove_all_items_from_inventory REMOVE_ALL_ITEMS_FROM_CHARACTER] |
| character | | character | ||
| - | | - | ||
Line 395: | Line 395: | ||
| - | | - | ||
|- | |- | ||
− | | '81': [ | + | | '81': [Actionparts#Transfer_all_items_to_other_character GIVE_ALL_ITEMS_TO] |
| character (from) | | character (from) | ||
| character (to) | | character (to) | ||
Line 403: | Line 403: | ||
| - | | - | ||
|- | |- | ||
− | | '82': [ | + | | '82': [Actionparts#Change_character_speed SET_CHARACTERSPEED] |
| character | | character | ||
| - | | - | ||
Line 411: | Line 411: | ||
| - | | - | ||
|- | |- | ||
− | | '83': [ | + | | '83': [Actionparts#Set_random_value SET_RANDOM_VALUE] |
| value | | value | ||
| - | | - | ||
Line 419: | Line 419: | ||
| - | | - | ||
|- | |- | ||
− | | '84': [ | + | | '84': [Actionparts#If_character_is_on_scene_then IF_CHARACTER_ON_SCENE] |
| character | | character | ||
| scene | | scene | ||
Line 427: | Line 427: | ||
| - | | - | ||
|- | |- | ||
− | | '85': [ | + | | '85': [Actionparts#Chase_character FOLLOW_CHARACTER] |
| character | | character | ||
| action | | action | ||
Line 437: | Line 437: | ||
| - | | - | ||
|- | |- | ||
− | | '86': [ | + | | '86': [Actionparts#Stop_chase STOP_FOLLOW] |
| character | | character | ||
| - | | - | ||
Line 445: | Line 445: | ||
| - | | - | ||
|- | |- | ||
− | | '87': [ | + | | '87': [Actionparts#Stop_character STOP_CHARACTER] |
| character | | character | ||
| - | | - | ||
Line 453: | Line 453: | ||
| - | | - | ||
|- | |- | ||
− | | '88': [ | + | | '88': [Actionparts#Change_walking_sound CHANGE_WALKINGSOUND] |
| character | | character | ||
| - | | - | ||
Line 461: | Line 461: | ||
| - | | - | ||
|- | |- | ||
− | | '89': [ | + | | '89': [Actionparts#Change_font_of_a_character CHANGE_FONT] |
| font | | font | ||
| character | | character | ||
Line 469: | Line 469: | ||
| - | | - | ||
|- | |- | ||
− | | '90': [ | + | | '90': [Actionparts#Change_the_interface_of_a_Character CHANGE_INTERFACE] |
| interface to set | | interface to set | ||
| - | | - | ||
Line 477: | Line 477: | ||
| - | | - | ||
|- | |- | ||
− | | DEPRECATED - '90': [ | + | | DEPRECATED - '90': [Actionparts#Change_the_interface_of_a_Character CHANGE_INTERFACE] |
| interface to set | | interface to set | ||
| interface to replace | | interface to replace | ||
Line 485: | Line 485: | ||
| - | | - | ||
|- | |- | ||
− | | '92': [ | + | | '92': [Actionparts#If_language_is_current_language_then IF_LANGUAGE] |
| language | | language | ||
| - | | - | ||
Line 493: | Line 493: | ||
| - | | - | ||
|- | |- | ||
− | | '94': [ | + | | '94': [Actionparts#Set_cursor SET_CURSOR] |
| cursor | | cursor | ||
| - | | - | ||
Line 501: | Line 501: | ||
| - | | - | ||
|- | |- | ||
− | | '95': [ | + | | '95': [Actionparts#If_command_is_current_command_then IF_COMMAND] |
| button (command) | | button (command) | ||
| - | | - | ||
Line 509: | Line 509: | ||
| - | | - | ||
|- | |- | ||
− | | '98': [ | + | | '98': [Actionparts#Show.2FHide_person HIDE_CHARACTER] |
| character | | character | ||
| - | | - | ||
Line 519: | Line 519: | ||
| - | | - | ||
|- | |- | ||
− | | '99': [ | + | | '99': [Actionparts#Save_object SAVE_OBJECT] |
| - | | - | ||
| - | | - | ||
Line 527: | Line 527: | ||
| - | | - | ||
|- | |- | ||
− | | '100': [ | + | | '100': [Actionparts#Execute_command_on_saved_object EXEC_SAVEDOBJECT] |
| - | | - | ||
| - | | - | ||
Line 535: | Line 535: | ||
| - | | - | ||
|- | |- | ||
− | | '103': [ | + | | '103': [Actionparts#If_current_object..._then IF_CURRENT_OBJECT] |
| - | | - | ||
| - | | - | ||
Line 548: | Line 548: | ||
| - | | - | ||
|- | |- | ||
− | | '105': [ | + | | '105': [Actionparts#Set_active.2Finactive_sprite SET_ACTIVE_SPRITE] |
| button | | button | ||
| - | | - | ||
Line 558: | Line 558: | ||
| - | | - | ||
|- | |- | ||
− | | '106': [ | + | | '106': [Actionparts#Clear_saved_object CLEAR_SAVEDOBJECT] |
| - | | - | ||
| - | | - | ||
Line 566: | Line 566: | ||
| - | | - | ||
|- | |- | ||
− | | '107': [ | + | | '107': [Actionparts#Skip_current_text SKIP_CURRENT_TEXT] |
| - | | - | ||
| - | | - | ||
Line 574: | Line 574: | ||
| - | | - | ||
|- | |- | ||
− | | '110': [ | + | | '110': [Actionparts#Set_fade_effect_to_new_scene SET_FADE_EFFECT] |
| - | | - | ||
| - | | - | ||
Line 590: | Line 590: | ||
| - | | - | ||
|- | |- | ||
− | | '111': [ | + | | '111': [Actionparts#Set_object_visibility FADE_OBJECT] |
| object | | object | ||
| value | | value | ||
Line 598: | Line 598: | ||
| - | | - | ||
|- | |- | ||
− | | '112': [ | + | | '112': [Actionparts#Set_interface_visibility FADE_INTERFACE] |
| interfaceclass | | interfaceclass | ||
| - | | - | ||
Line 607: | Line 607: | ||
| - | | - | ||
|- | |- | ||
− | | DEPRECATED - '112': [ | + | | DEPRECATED - '112': [Actionparts#Set_interface_visibility FADE_INTERFACE] |
| interface | | interface | ||
| - | | - | ||
Line 616: | Line 616: | ||
| - | | - | ||
|- | |- | ||
− | | '114': [ | + | | '114': [Actionparts#Set_light_map SET_LIGHTMAP] |
| scene | | scene | ||
| - | | - | ||
Line 625: | Line 625: | ||
| - | | - | ||
|- | |- | ||
− | | '115': [ | + | | '115': [Actionparts#Set_brightness SET_BRIGHTNESS] |
| scene | | scene | ||
| - | | - | ||
Line 634: | Line 634: | ||
| - | | - | ||
|- | |- | ||
− | | '116': [ | + | | '116': [Actionparts#Set_character_visibility FADE_CHARACTER] |
| character | | character | ||
| value | | value | ||
Line 643: | Line 643: | ||
| - | | - | ||
|- | |- | ||
− | | '117': [ | + | | '117': [Actionparts#Set_item SET_PICKUP_ITEM] |
| object (item) | | object (item) | ||
| - | | - | ||
Line 654: | Line 654: | ||
| - | | - | ||
|- | |- | ||
− | | '121': [ | + | | '121': [Actionparts#Delete_savegame.2Fautosave DELETE_SAVEGAME] |
| - | | - | ||
| - | | - | ||
Line 665: | Line 665: | ||
| - | | - | ||
|- | |- | ||
− | | '123': [ | + | | '123': [Actionparts#If_Savegame.2FAutosave_exists_then IF_SAVEGAME_EXISTS] |
| - | | - | ||
| - | | - | ||
Line 677: | Line 677: | ||
| - | | - | ||
|- | |- | ||
− | | '124': [ | + | | '124': [Actionparts#Change_character_animation_index SET_CHARACTERANIM_INDEX] |
| character | | character | ||
| - | | - | ||
Line 686: | Line 686: | ||
| - | | - | ||
|- | |- | ||
− | | '125': [ | + | | '125': [Actionparts#Wait_until_sound_is_finished WAITON_SOUND] |
| - | | - | ||
| - | | - | ||
Line 695: | Line 695: | ||
| - | | - | ||
|- | |- | ||
− | | '126': [ | + | | '126': [Actionparts#Wait_until_sound_is_finished SET_HORIZONTAL_SCROLLABLE_AREA] |
| scene | | scene | ||
| - | | - | ||
Line 704: | Line 704: | ||
| - | | - | ||
|- | |- | ||
− | | '127': [ | + | | '127': [Actionparts#Wait_until_sound_is_finished SET_VERTICAL_SCROLLABLE_AREA] |
| scene | | scene | ||
| - | | - | ||
Line 713: | Line 713: | ||
| - | | - | ||
|- | |- | ||
− | | '130': [ | + | | '130': [Actionparts#Keep_scene_in_memory KEEP_SCENE_IN_MEM] |
| - | | - | ||
| - | | - | ||
Line 725: | Line 725: | ||
| - | | - | ||
|- | |- | ||
− | | '131': [ | + | | '131': [Actionparts#Set_text_and_speech_output SET_TEXT_OUTPUT] |
| - | | - | ||
| - | | - | ||
Line 737: | Line 737: | ||
| - | | - | ||
|- | |- | ||
− | | '132': [ | + | | '132': [Actionparts#Set_character_to_position SET_CHARACTER_TO_POSITION] |
| character | | character | ||
| scene | | scene | ||
Line 746: | Line 746: | ||
| - | | - | ||
|- | |- | ||
− | | '133': [ | + | | '133': [Actionparts#Change_way_system CHANGE_WAYSYSTEM] |
| way system | | way system | ||
| - | | - | ||
Line 755: | Line 755: | ||
| - | | - | ||
|- | |- | ||
− | | '134': [ | + | | '134': [Actionparts#Set_first_animation_frame SET_FIRST_ANIMATION_FRAME] |
| animation | | animation | ||
| - | | - | ||
Line 764: | Line 764: | ||
| - | | - | ||
|- | |- | ||
− | | '135': [ | + | | '135': [Actionparts#Set_last_animation_frame SET_LAST_ANIMATION_FRAME] |
| animation | | animation | ||
| - | | - | ||
Line 773: | Line 773: | ||
| - | | - | ||
|- | |- | ||
− | | '136': [ | + | | '136': [Actionparts#Set_text_speed SET_TEXT_SPEED] |
| value | | value | ||
| - | | - | ||
Line 782: | Line 782: | ||
| - | | - | ||
|- | |- | ||
− | | '137': [ | + | | '137': [Actionparts#Call_script CALL_SCRIPT] |
| script | | script | ||
| - | | - | ||
Line 791: | Line 791: | ||
| function name to call | | function name to call | ||
|- | |- | ||
− | | '138': [ | + | | '138': [Actionparts#Execute_script EXECUTE_SCRIPT] |
| - | | - | ||
| - | | - | ||
Line 800: | Line 800: | ||
| script content | | script content | ||
|- | |- | ||
− | | '139': [ | + | | '139': [Actionparts#Set_condition SET_CONDITION] |
| condition | | condition | ||
| - | | - | ||
Line 811: | Line 811: | ||
| - | | - | ||
|- | |- | ||
− | | '140': [ | + | | '140': [Actionparts#If_condition IF_CONDITION] |
| condition | | condition | ||
| - | | - | ||
Line 822: | Line 822: | ||
| - | | - | ||
|- | |- | ||
− | | '141': [ | + | | '141': [Actionparts#Show_hide_cursor SHOW_HIDE_CURSOR] |
| cursor | | cursor | ||
| - | | - | ||
Line 833: | Line 833: | ||
| - | | - | ||
|- | |- | ||
− | | '142': [ | + | | '142': [Actionparts#Show_hide_interfaces SHOW_HIDE_INTERFACES] |
| - | | - | ||
| - | | - | ||
Line 844: | Line 844: | ||
| - | | - | ||
|- | |- | ||
− | | '143': [ | + | | '143': [Actionparts#Start_stop_earthquake START_STOP_EARTHQUAKE] |
| - | | - | ||
| - | | - | ||
Line 855: | Line 855: | ||
| - | | - | ||
|- | |- | ||
− | | '144': [ | + | | '144': [Actionparts#Begin_end_cutscene BEGIN_END_CUTSCENE] |
| - | | - | ||
| - | | - | ||
Line 865: | Line 865: | ||
| - | | - | ||
|- | |- | ||
− | | '145': [ | + | | '145': [Actionparts#Load_save_bookmark LOAD_SAVE_BOOKMARK] |
| - | | - | ||
| - | | - | ||
Line 878: | Line 878: | ||
| - | | - | ||
|- | |- | ||
− | | '146': [ | + | | '146': [Actionparts#Load_save_game LOAD_SAVE_GAME] |
| - | | - | ||
| - | | - | ||
Line 891: | Line 891: | ||
| - | | - | ||
|- | |- | ||
− | | '147': [ | + | | '147': [Actionparts#Change_general_volume SET_VOLUME] |
| - | | - | ||
| - | | - | ||
Line 908: | Line 908: | ||
| - | | - | ||
|- | |- | ||
− | | '148': [ | + | | '148': [Actionparts#Call_exit_action CALL_EXIT_ACTION] |
| action | | action | ||
| - | | - | ||
Line 919: | Line 919: | ||
| - | | - | ||
|- | |- | ||
− | | '149': [ | + | | '149': [Actionparts#Preload_animation PRELOAD_UNLOAD_ANIMATION] |
| animation | | animation | ||
| - | | - | ||
Line 930: | Line 930: | ||
| - | | - | ||
|- | |- | ||
− | | '150': [ | + | | '150': [Actionparts#Add_remove_item ADD_REMOVE_ITEM] |
| object (item) | | object (item) | ||
| character | | character | ||
Line 943: | Line 943: | ||
| - | | - | ||
|- | |- | ||
− | | '151': [ | + | | '151': [Actionparts#Show_next_previous_savegames SCROLL_SAVEGAMES] |
| - | | - | ||
| - | | - | ||
Line 954: | Line 954: | ||
| - | | - | ||
|- | |- | ||
− | | '152': [ | + | | '152': [Actionparts#Set_animation_position SET_ANIMATION_POSITION] |
| animation | | animation | ||
| - | | - | ||
Line 966: | Line 966: | ||
| - | | - | ||
|- | |- | ||
− | | '153': [ | + | | '153': [Actionparts#Show_hide_snoop_animations SHOW_HIDE_SNOOP_ANIMATIONS] |
| - | | - | ||
| - | | - | ||
Line 977: | Line 977: | ||
| - | | - | ||
|- | |- | ||
− | | '154': [ | + | | '154': [Actionparts#Preload_unload_character PRELOAD_UNLOAD_CHARACTER] |
| character | | character | ||
| - | | - | ||
Line 988: | Line 988: | ||
| - | | - | ||
|- | |- | ||
− | | '155': [ | + | | '155': [Actionparts#Show_object_text SHOW_OBJECT_TEXT] |
| text | | text | ||
| object | | object | ||
Line 1,000: | Line 1,000: | ||
| - | | - | ||
|- | |- | ||
− | | '156': [ | + | | '156': [Actionparts#Hide_object_text HIDE_OBJECT_TEXT] |
| object | | object | ||
| - | | - |
Revision as of 19:59, 3 December 2013
All available actionparts are listed here. Each actionpart is stored as one object in the ActionPart table of the Visionaire Data Structure. The 'constant number' is the number which is stored in the field ActionPartCommand and defines the actionpart. Each actionpart can have a maximum of two links, three numbers and one file path. This document shows which fields are used for which actionpart. If there is a link to a scene or a character (in ActionPartLink or ActionPartAltLink) and the link is empty then the current scene/character is used.
Constant number/name |
ActionPartLink |
ActionPartAltLink |
ActionPartPath |
ActionPartInt |
ActionPartAltInt |
ActionPartAltInt2 |
ActionPartString |
---|---|---|---|---|---|---|---|
'5': [Actionparts#Else ELSE] | - | - | - | - | - | - | |
'6': [Actionparts#End_if ENDIF] | - | - | - | - | - | - | |
'10': [Actionparts#Change_scene CHANGE_SCENE] | object | character | - |
'1': fade into new scene |
direction (degrees) the character is looking on the new scene | ||
'12': [Actionparts#Change_character CHANGE_CHARACTER] | character | - | - | '1': fade into new scene, '0' no fade effect (if character is on another scene) | - | - | |
'13': [Actionparts#Start_dialog START_DIALOG] | dialog | - | - | - | - | - | |
'14': [Actionparts#Stop_current_dialog STOP_DIALOG] | - | - | - | - | - | - | |
'16': [Actionparts#Quit_current_action EXIT_ACTION] | action | - | - | - | - | - | - |
'19': [Actionparts#Show_hide_animation SHOW_HIDE_ANIMATION] | animation | - | - |
'0': show animation |
'1': play animation in reverse direction |
'0': proceed immediately with next action part. |
- |
'22': [Actionparts#Wait_until_animation_is_finished WAITON_ANIMATION] | animation | - | - | - | - | - | |
'23': [Actionparts#Display_text SHOW_TEXT] | text | character | - |
'0': foreground text |
- | - | - |
'24': [Actionparts#Play_sound PLAY_SOUND] | - | - | sound file | volume (between '0' and '100') | balance (between '-100' and '100') |
'0': sound must be stopped manually |
- |
'30': [Actionparts#Pause MAKE_PAUSE] | value | - | - | delay (msec) | unit: '0': milliseconds |
- | |
'31': [Actionparts#Send_character_to_object CHARACTER_GOTO] | character | object | - | '0': proceed immediately with next action part. '1': wait until character reaches object before processing next action part. |
- | - | |
'32': [Actionparts#Wait_until_character_stops WAITON_CHARACTER] | character | - | - | - | - | - | |
'45': [Actionparts#Set_command SET_COMMAND] | button (command) | - | - | - | - | - | |
'46': [Actionparts#Show_scene SHOW_SCENE] | scene | - | - |
'1': fade into new scene |
- | - | |
'47': [Actionparts#Send_character_to_position CHARACTER_GOTO_XY] | character | - | - | x-coordinate of point | y-coordinate of point | '0': proceed immediately with next action part. '1': wait until character reaches position before processing next action part. | |
'48': [Actionparts#Scroll_scene_to_object SCROLL_SCENE] | object | - | - | - | - | - | - |
'49': [Actionparts#Scroll_scene_to_position SCROLL_SCENE_XY] | - | - | - | x-coordinate of point | y-coordinate of point | - | - |
'50': [Actionparts#Set_character_to_an_object SET_CHARACTER_TO_OBJECT] | character | object | - | direction (degrees) the character is looking '-1': character looks in direction of object |
- | - | |
'51': [Actionparts#Change_outfit_of_a_character CHANGE_OUTFIT] | outfit | - | - | '0': unload animations of old outfit '1': do not unload animations of old outfit |
- | - | |
'52': [Actionparts#Change_comment-set_of_a_character CHANGE_COMMENTSET] | commentset | - | - | - | - | - | |
'53': [Actionparts#Change_language CHANGE_LANGUAGE] | language | - | - | - | - | - | |
'54': [Actionparts#Show.2FHide_person SHOW_CHARACTER] | character | - | - |
'1': fade into new scene |
- | - | |
'55': [Actionparts#Quit_game QUIT_GAME] | - | - | - | - | - | - | |
'56': [Actionparts#Show.2FHide_Interface SHOW_HIDE_INTERFACE] | interfaceclass | - | - |
'0': show |
- | - | - |
DEPRECATED - '56': [Actionparts#Show.2FHide_Interface SHOW_HIDE_INTERFACE] | interface | - | - | number of active interface of current character which is shown/hidden (only used if ActionPartLink is not set) |
'0': show |
- | - |
'58': [Actionparts#Align_character ALIGN_CHARACTER] | character | - | - | direction (degrees) | - | - | |
'59': [Actionparts#Change_background_music SET_MUSIC] | scene | - | music file | volume (between '0' and '100') | balance (between '-100' and '100') | - | |
'60': [Actionparts#Center_scene_on_character_permanently SET_SCROLLCHARCTER] | character | - | - |
'0': center character |
- | - | |
'66': [Actionparts#Play_video PLAY_VIDEO] | - | - | movie file |
'0': play movie centered |
'0': all sounds are paused and only continued after the action which started the video is interupted (finished or paused, etc.) -> if a new scene is shown immediately after the video the active sounds started before the video are removed. |
- | |
'69': [Actionparts#If_value_then IF_VALUE] | value | value (optional) | - |
'0': == |
number (only used if ActionPartAltLink is empty) | - | |
'70': [Actionparts#Set_value SET_VALUE] | value | value (optional) | - |
'0': = |
number (only used if ActionPartAltLink is empty) | - | |
'71': [Actionparts#Show_speaker_text SHOW_TEXT_XY] | text | font | - | x-coordinate | y-coordinate |
'0': foreground text |
- |
'72': [Actionparts#Play_and_loop_sound_infinitely PLAY_LOOPED_SOUND] | - | - | sound file | volume (between '0' and '100') | balance (between '-100' and '100') |
'0': sound must be stopped manually |
- |
'73': [Actionparts#Stop_currently_playing_sound STOP_SOUND] | - | - | sound file | - | - | - | |
'77': [Actionparts#Change_settings_of_a_currently_playing_sound CHANGE_SOUND_SETTINGS] | - | - | sound file | volume (between '0' and '100') | balance (between '-100' and '100') | - | |
'78': [Actionparts#Jump_to_action_part GOTO] | - | - | - |
'0': jump relative |
jump to | - | |
'79': [Actionparts#If_character_is_current_character_then IF_CHARACTER] | character | - | - | - | - | - | |
'80': [Actionparts#Remove_all_items_from_inventory REMOVE_ALL_ITEMS_FROM_CHARACTER] | character | - | - | - | - | - | |
'81': [Actionparts#Transfer_all_items_to_other_character GIVE_ALL_ITEMS_TO] | character (from) | character (to) | - | - | - | - | |
'82': [Actionparts#Change_character_speed SET_CHARACTERSPEED] | character | - | - | speed | - | - | |
'83': [Actionparts#Set_random_value SET_RANDOM_VALUE] | value | - | - | from | to | - | |
'84': [Actionparts#If_character_is_on_scene_then IF_CHARACTER_ON_SCENE] | character | scene | - | - | - | - | |
'85': [Actionparts#Chase_character FOLLOW_CHARACTER] | character | action | - |
'0': chase current character |
reach distance | - | |
'86': [Actionparts#Stop_chase STOP_FOLLOW] | character | - | - | - | - | - | |
'87': [Actionparts#Stop_character STOP_CHARACTER] | character | - | - | - | - | - | |
'88': [Actionparts#Change_walking_sound CHANGE_WALKINGSOUND] | character | - | sound file | - | - | - | |
'89': [Actionparts#Change_font_of_a_character CHANGE_FONT] | font | character | - | - | - | - | |
'90': [Actionparts#Change_the_interface_of_a_Character CHANGE_INTERFACE] | interface to set | - | - | - | - | - | |
DEPRECATED - '90': [Actionparts#Change_the_interface_of_a_Character CHANGE_INTERFACE] | interface to set | interface to replace | - | number of active interface of current character which is replaced (only used if ActionPartAltLink is not set) | - | - | |
'92': [Actionparts#If_language_is_current_language_then IF_LANGUAGE] | language | - | - | - | - | - | |
'94': [Actionparts#Set_cursor SET_CURSOR] | cursor | - | - | - | - | - | |
'95': [Actionparts#If_command_is_current_command_then IF_COMMAND] | button (command) | - | - | - | - | - | |
'98': [Actionparts#Show.2FHide_person HIDE_CHARACTER] | character | - | - |
'1': hide |
- | - | |
'99': [Actionparts#Save_object SAVE_OBJECT] | - | - | - | - | - | - | |
'100': [Actionparts#Execute_command_on_saved_object EXEC_SAVEDOBJECT] | - | - | - | - | - | - | |
'103': [Actionparts#If_current_object..._then IF_CURRENT_OBJECT] | - | - | - |
'0': exists |
- | - | |
'105': [Actionparts#Set_active.2Finactive_sprite SET_ACTIVE_SPRITE] | button | - | - |
'0': inactive sprite |
- | - | |
'106': [Actionparts#Clear_saved_object CLEAR_SAVEDOBJECT] | - | - | - | - | - | - | |
'107': [Actionparts#Skip_current_text SKIP_CURRENT_TEXT] | - | - | - | - | - | - | |
'110': [Actionparts#Set_fade_effect_to_new_scene SET_FADE_EFFECT] | - | - | - |
'0': no effect |
delay (in msec) | - | |
'111': [Actionparts#Set_object_visibility FADE_OBJECT] | object | value | - | visibility: must be between '0' and '100' (only used if value is empty) | delay (in msec) | - | |
'112': [Actionparts#Set_interface_visibility FADE_INTERFACE] | interfaceclass | - | - | visibility: must be between '0' and '100' | delay (in msec) | - | - |
DEPRECATED - '112': [Actionparts#Set_interface_visibility FADE_INTERFACE] | interface | - | - | number of active interface of current character (only used if ActionPartLink is not set) | visibility: must be between '0' and '100' | delay (in msec) | - |
'114': [Actionparts#Set_light_map SET_LIGHTMAP] | scene | - | image file | - | - | - | - |
'115': [Actionparts#Set_brightness SET_BRIGHTNESS] | scene | - | - | brightness: must be between '0' and '100' | - | - | - |
'116': [Actionparts#Set_character_visibility FADE_CHARACTER] | character | value | - | visibility: must be between '0' and '100' (only used if value is empty) | delay (in msec) | - | - |
'117': [Actionparts#Set_item SET_PICKUP_ITEM] | object (item) | - | - |
'1': picked up item |
- | - | - |
'121': [Actionparts#Delete_savegame.2Fautosave DELETE_SAVEGAME] | - | - | - |
'0': delete savegame |
number of autosave (only used if ActionPartInt = 1) | - | - |
'123': [Actionparts#If_Savegame.2FAutosave_exists_then IF_SAVEGAME_EXISTS] | - | - | - | -
'0': test selected savegame |
number of autosave (only used if ActionPartInt = 2) | - | - |
'124': [Actionparts#Change_character_animation_index SET_CHARACTERANIM_INDEX] | character | - | - | index | - | - | - |
'125': [Actionparts#Wait_until_sound_is_finished WAITON_SOUND] | - | - | sound file | - | - | - | - |
'126': [Actionparts#Wait_until_sound_is_finished SET_HORIZONTAL_SCROLLABLE_AREA] | scene | - | - | left border | right border | - | - |
'127': [Actionparts#Wait_until_sound_is_finished SET_VERTICAL_SCROLLABLE_AREA] | scene | - | - | upper border | lower border | - | - |
'130': [Actionparts#Keep_scene_in_memory KEEP_SCENE_IN_MEM] | - | - | - |
'0': keep scene objects and characters |
max. number of scene changes to keep sprites | - | - |
'131': [Actionparts#Set_text_and_speech_output SET_TEXT_OUTPUT] | - | - | - |
'0': text and speech output |
- | - | - |
'132': [Actionparts#Set_character_to_position SET_CHARACTER_TO_POSITION] | character | scene | - | x-coordinate of point | y-coordinate of point | - | - |
'133': [Actionparts#Change_way_system CHANGE_WAYSYSTEM] | way system | - | - | - | - | - | - |
'134': [Actionparts#Set_first_animation_frame SET_FIRST_ANIMATION_FRAME] | animation | - | - | first animation frame | - | - | - |
'135': [Actionparts#Set_last_animation_frame SET_LAST_ANIMATION_FRAME] | animation | - | - | last animation frame | - | - | - |
'136': [Actionparts#Set_text_speed SET_TEXT_SPEED] | value | - | - | speed in % | - | - | - |
'137': [Actionparts#Call_script CALL_SCRIPT] | script | - | - | - | - | - | function name to call |
'138': [Actionparts#Execute_script EXECUTE_SCRIPT] | - | - | - | - | - | - | script content |
'139': [Actionparts#Set_condition SET_CONDITION] | condition | - | - |
'0': true |
- | - | - |
'140': [Actionparts#If_condition IF_CONDITION] | condition | - | - |
'0': true |
- | - | - |
'141': [Actionparts#Show_hide_cursor SHOW_HIDE_CURSOR] | cursor | - | - |
'0': show |
- | - | - |
'142': [Actionparts#Show_hide_interfaces SHOW_HIDE_INTERFACES] | - | - | - |
'0': show |
- | - | - |
'143': [Actionparts#Start_stop_earthquake START_STOP_EARTHQUAKE] | - | - | - |
'0': start earthquake |
force (in pixel) | speed | - |
'144': [Actionparts#Begin_end_cutscene BEGIN_END_CUTSCENE] | - | - | - | '0': start earthquake '1': stop earthquake |
- | - | - |
'145': [Actionparts#Load_save_bookmark LOAD_SAVE_BOOKMARK] | - | - | - |
'0': load bookmark |
number of savegame: '0' - '99' |
'0': do not save action where this action part is defined. |
- |
'146': [Actionparts#Load_save_game LOAD_SAVE_GAME] | - | - | - |
'0': load game |
'0': do not save action where this action part is defined. |
- | - |
'147': [Actionparts#Change_general_volume SET_VOLUME] | - | - | - |
'0': sound volume |
'0': = |
volume (between '0' and '100') | - |
'148': [Actionparts#Call_exit_action CALL_EXIT_ACTION] | action | - | - |
'0': call action |
- | - | - |
'149': [Actionparts#Preload_animation PRELOAD_UNLOAD_ANIMATION] | animation | - | - |
'0': preload animation |
- | - | - |
'150': [Actionparts#Add_remove_item ADD_REMOVE_ITEM] | object (item) | character | - |
'0': add item |
'0': do not scroll items |
- | - |
'151': [Actionparts#Show_next_previous_savegames SCROLL_SAVEGAMES] | - | - | - |
'0': next savegames |
- | - | - |
'152': [Actionparts#Set_animation_position SET_ANIMATION_POSITION] | animation | - | - | x-coordinate | y-coordinate |
'0': = |
- |
'153': [Actionparts#Show_hide_snoop_animations SHOW_HIDE_SNOOP_ANIMATIONS] | - | - | - |
'0': show |
- | - | - |
'154': [Actionparts#Preload_unload_character PRELOAD_UNLOAD_CHARACTER] | character | - | - |
'0': preload character |
- | - | - |
'155': [Actionparts#Show_object_text SHOW_OBJECT_TEXT] | text | object | - | x-coordinate | y-coordinate |
'0': align text left |
- |
'156': [Actionparts#Hide_object_text HIDE_OBJECT_TEXT] | object | - | - | - | - | - | - |