bbmultipass
First time out of the vault
I have a code that don't work:
How i can check using of Doctor's Bag?
Or are there some functions to check crippled status?
Code:
procedure map_enter_p_proc begin
critter_injure(self_obj, DAM_CRIP_LEG_RIGHT);
end
procedure use_obj_on_p_proc begin
if (obj_pid(obj_being_used_with) == PID_DOCTORS_BAG) then begin
script_overrides;
set_global_var(GVAR_INJURED_FRANK, STATE_QUEST_COMPLETED);
give_exp_points(100);
display_mstr(100);
end
end
How i can check using of Doctor's Bag?
Or are there some functions to check crippled status?