Jump to content

pingblaha

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by pingblaha

  1. Thanks for the reply! I always have an object reference to move (the actor itself) so if I could move the XMarker to the location i need to be at, I would be able to move the actor themselves and not need the XMarker at all. Or am i missing something here? If I understand it correctly there are different types of References (Actor, Unique Actor, Object, Location, etc.) An Object reference point to an Object (like a stimpak, an XMarker.. a thing). So an Actor can't be an object reference. I don't think they can. I'm able to get the Actor through its object reference as its passed to the function (OnEnd) im in.
  2. Thanks for the reply! I always have an object reference to move (the actor itself) so if I could move the XMarker to the location i need to be at, I would be able to move the actor themselves and not need the XMarker at all. Or am i missing something here?
  3. Hi, I am having an issue writing a script for a mod im working on. I have a variable of type Location and I want to move an actor to that location using the MoveTo function. However, the moveto function uses an ObjectReference as its parameter and not a Location. Is there a way to get the corresponding ObjectReference for a given Location (possibly for the map marker, was trying to find the script which handles fast travel but came up empty) or would I have to have a system set up where I have to map myself each possible location with a valid objectreference at that point? Thanks a lot!
  4. I am attempting to add a vendor with custom functionality to settlements. The idea is that when i assign a settler to the stand, the standard vendor barter dialogue options will come up, however when the barter option is pressed a custom script will be ran. I have made the custom vendor stand and related faction to assign to a settler when they are assigned to the stand. Ive also added the dialog in the WorkshopVendorGreetingsGeneric quest with custom messages for both the player character and assigned settler. This is where the issues arise. When i talk to the assigned settler, the player character says the generic message 'I just want to trade a few things' message, as if the settler isnt assigned to an object. However, the settler then succesfully says one of the custom messages assigned to them when they are set to the custom vendor faction. After this nothing happens, no further dialog option or even the inventory window. Is there another area i have to add the dialogue to? Or have i simply done something wrong when adding the dialog to the WorkshopVendorGreetingsGeneric quest? I have double checked the faction requirements for each dialog option i added and they seem to be correct. Appreciate the help!
×
×
  • Create New...