Search results

  1. Stuporstar

    Fallout 2 mod Scripting Help Needed - object can't read inventory of another object?

    Hmm, that's the first thing I did though, and it had the script load order problem, which is why I tried simplifying everything. I got it working by making it point to the Elder and having the container do the work. Probably the better way to go anyway since the Elder gets transported to the...
  2. Stuporstar

    Fallout 2 mod Scripting Help Needed - object can't read inventory of another object?

    I have another basic syntax question I can't find an answer to (probably because it's "no" lol). Can variables handle integer ranges (when not random)? Or do I always have to do something like this? if ((global_var(GVAR_Var_Name) > 0) and (global_var(GVAR_Var_Name) < 3)) then
  3. Stuporstar

    Fallout 2 mod Scripting Help Needed - object can't read inventory of another object?

    Ok I'm really stumped now. I've been trying to use an exported variable for the container just like the merchant scripts, but the variable keeps returning 0 and not working. I keep getting results like this. Here is the simplified script bits on the box: export variable Elder_box_obj; procedure...
  4. Stuporstar

    Fallout 2 mod Scripting Help Needed - object can't read inventory of another object?

    Huh, I'm still doing something ridiculously wrong. I've tried making an object pointer to the Elder using variables and defines in a variety of ways and it's not working. So I have to ask the very rudimentary question -- how do I make a simple object pointer? All I can find in any scripts are...
  5. Stuporstar

    Fallout 2 mod Scripting Help Needed - object can't read inventory of another object?

    Oh, I see! So I use the object_ptr instead of its PID. That's what I was missing. I'd also wrongly assumed you needed to reference a .msg file to use display_msg(). Thanks! I have another question regarding this mod I'm working on. I noticed the ddraw.ini has lines to change the time for the...
  6. Stuporstar

    Fallout 2 mod Scripting Help Needed - object can't read inventory of another object?

    Hi there. I'm pretty new to Fallout 2 modding, but I've been modding Morrowind for almost two decades (and am well familiar with how finicky C-based scripting can be). I've managed to figure out most of the tools and basic syntax already, as well as working with the various header macros...
Back
Top