Aug 21, 2018 #1 Z Zorchar Look, Ma! Two Heads! Hi. I want the game to display the amount of hunting rifles i am holding. I used this. Code: procedure description_p_proc begin script_overrides; display_msg(obj_is_carrying_obj_pid(dude_obj,PID_HUNTING_RIFLE)); end What am I doing wrong?
Hi. I want the game to display the amount of hunting rifles i am holding. I used this. Code: procedure description_p_proc begin script_overrides; display_msg(obj_is_carrying_obj_pid(dude_obj,PID_HUNTING_RIFLE)); end What am I doing wrong?
Aug 21, 2018 #2 Mr.Stalin Mildly Dipped You need to add ""+ if the result is output without text. Code: display_msg("" + obj_is_carrying_obj_pid(dude_obj,PID_HUNTING_RIFLE));
You need to add ""+ if the result is output without text. Code: display_msg("" + obj_is_carrying_obj_pid(dude_obj,PID_HUNTING_RIFLE));