Hi 4 all
well , i try to explain in the best form ...
Im make a new critter (with one civilian from fot (thanks Wild Qwerty for this work ) and add a script for a basic talk (is created with Fallout Script Editor , and for test )
The name of script is "exoma.int" , im put the MSG file with the lines 100 , 101 & 102 , called "exoma.msg" , im attach to the new critter using the bis mapper ... And put one of this critter at the beginning of the Artemple.map , when im try to talk , throw the dialogue windows , and get in the text : Error...
What is wrong ??? Im appreciate the help
Edit : Add information
Im add the name of script in the header "scripts.h" and in "scripts.lst"
Salut
well , i try to explain in the best form ...
Im make a new critter (with one civilian from fot (thanks Wild Qwerty for this work ) and add a script for a basic talk (is created with Fallout Script Editor , and for test )
Code:
#include "..\headers\define.h"
#define NAME SCRIPT_KDMOD001
#include "..\headers\command.h"
procedure start;
procedure node2000;
procedure node1001;
procedure node1000;
procedure node002;
procedure use_p_proc;
procedure look_at_p_proc;
procedure description_p_proc;
procedure use_skill_on_p_proc;
procedure use_obj_on_p_proc;
procedure damage_p_proc;
procedure map_enter_p_proc;
procedure map_update_p_proc;
procedure talk_p_proc;
#define LVAR_Herebefore (4)
#define LVAR_Hostile (5)
#define LVAR_Personal_Enemy (6)
procedure start begin
end
procedure timed_event_p_proc begin
end
procedure use_p_proc begin
end
procedure look_at_p_proc begin
script_overrides;
if (local_var(LVAR_Herebefore) == 0) then
display_msg(mstr(100));
else
display_msg(mstr(101));
end
procedure description_p_proc begin
script_overrides;
display_msg(mstr(102));
end
procedure use_skill_on_p_proc begin
end
procedure use_obj_on_p_proc begin
end
procedure damage_p_proc begin
end
procedure map_enter_p_proc begin
end
procedure map_update_p_proc begin
end
procedure talk_p_proc begin
start_gdialog(NAME, self_obj, 4, -1, -1);
gsay_start;
if (get_critter_stat(Dude_obj, STAT_iq)>3) then
call node002;
else
call node2000;
gsay_end;
end_dialogue;
end
procedure node002
begin
gSay_Message(NAME,100,50);
end
procedure node1000
begin
end
procedure node1001
begin
end
procedure node2000
begin
end
The name of script is "exoma.int" , im put the MSG file with the lines 100 , 101 & 102 , called "exoma.msg" , im attach to the new critter using the bis mapper ... And put one of this critter at the beginning of the Artemple.map , when im try to talk , throw the dialogue windows , and get in the text : Error...
What is wrong ??? Im appreciate the help
Edit : Add information
Im add the name of script in the header "scripts.h" and in "scripts.lst"
Salut