map_enter_p_proc

Uh, I just use it in a global script.

Code:
procedure start begin  
   if (game_loaded) then begin
       set_global_script_type(0);
   end
end

procedure map_enter_p_proc begin
   if (global_var(GVAR_PLAYER_GOT_CAR) != 0) then begin
       debug("car location: " + car_current_town);
       
       call check_vehicle_trunk;
       call check_vehicle_location;
   end
end

etc... works perfect.
 
Yes, everytime you enter a map. Right now I'm primarily using it to replace most of the car script code, because I hated how its code is spread over every map script.
 
Yes, everytime you enter a map. Right now I'm primarily using it to replace most of the car script code, because I hated how its code is spread over every map script.
use the trunk script,check megamod for my code,it is all in trunk script and none in themap scripts
 
just out of curiosity,what all fallout 2 procedures are usable in sfall global scripts?
 
Back
Top