Jump to content

Question about dynamically adding items upon death


Hopper31

Recommended Posts

So I've finally decided to go back and rework my first mod (Removable Robot Arms) so that it's more compatible with other mods. I originally intended to do some scripting involving the GetModelPath NVSE function attached to a token that gets added on death via a walking ref script. However GetModelPath only seems to return the skeleton of the model (This isn't much of a problem on Securitrons or Robo Scorpions, but on anything else it prevents me from adding the unique Army/Blue/Construction version of the part). So then I tried to make it so that the perk would add the items via the 'Add Leveled List On Death' entry point, but that method is going to take a while because I'd have to put in around 400 entries into it, and the G.E.C.K locks up for a few seconds after every new condition/entry is put in.

 

So pretty much what I'm asking is this: Is there a way to reference all of a creature's model paths in a script, or is there a scripting equivalent of 'Add Leveled List On Death' so I can copy and paste it instead of having the G.E.C.K freeze for five seconds every time I add a new condition?

 

Thanks in advance.

 

Edit: I've found out another solution by using Form Lists. So I guess you can disregard this post unless you have an idea on how I can use GetModel so I can add parts to other mods without RRA being a master.

Edited by Hopper31
Link to comment
Share on other sites

  • 2 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...