This is code from Doc Morbid in Fallout1. He should walk over to you, animate a "use" action and then it goes back to dialog.
In the patched version of the game, as well as the original version of the game, he just stands there and doesn't animate at all. I swear this worked in an unmodded version of the game but can't get it to work today no matter what version of the script file I use.
What gives?
EDIT:
Hmmm. I can get it to work (at least the WALKING part... ugh) by copying the command format from the Lieutenant:
I dunno, as far as I can tell, this code for Doc Morbid never worked. I've tried the original file (Fallout v1.0) the file from TeamX 1.2.1 and neither animate anything when Morbid cuts out your eye. Weird.
In the patched version of the game, as well as the original version of the game, he just stands there and doesn't animate at all. I swear this worked in an unmodded version of the game but can't get it to work today no matter what version of the script file I use.
What gives?
Code:
game_ui_disable;
reg_anim_func(2, dude_obj);
reg_anim_func(2, self_obj);
reg_anim_func(1, 1);
reg_anim_obj_move_to_obj(self_obj, dude_obj, -1);
reg_anim_animate(self_obj, 12, -1);
reg_anim_func(3, 0);[/b]
rm_timer_event(self_obj);
add_timer_event(self_obj, game_ticks(3), 1);
EDIT:
Hmmm. I can get it to work (at least the WALKING part... ugh) by copying the command format from the Lieutenant:
Code:
animate_move_obj_to_tile(self_obj, tile_num_in_direction(tile_num(dude_obj), 1, 1), 0);
I dunno, as far as I can tell, this code for Doc Morbid never worked. I've tried the original file (Fallout v1.0) the file from TeamX 1.2.1 and neither animate anything when Morbid cuts out your eye. Weird.