steve40 Posted June 28, 2016 Posted June 28, 2016 On 6/28/2016 at 1:25 AM, Reneer said: The problem, I believe, is that EquipItem takes a Form and not an Objectreference. So (again, my understanding) is when you tell it to equip a particular weapon form, it simply chooses at random (from the player's inventory). I've never really tested anything like this, so I can't be certain I'm right in my assumption, though. I don't know if making the item persistent or not would have any effect. The best thing to do would be to try it and see. When "Form" is described as the function's argument, it can often imply that derived forms such as ObjectReference (which extends Form) may work. AddItem is one such example where this is the case.
Reneer Posted June 28, 2016 Posted June 28, 2016 On 6/28/2016 at 2:33 AM, steve40 said: The best thing to do would be to try it and see. When "Form" is described as the function's argument, it can often imply that derived forms such as ObjectReference (which extends Form) may work. AddItem is one such example where this is the case.This isn't my mod or anything, else I would readily take your advice. :tongue:
steve40 Posted June 28, 2016 Posted June 28, 2016 I know. I just said it for the benefit of the OP. Cheers.
Magicockerel Posted June 28, 2016 Author Posted June 28, 2016 Cheers guys, I'll look into your recommendations once I wake up. Your help is definitely appreciated :smile:. I've been absent from my threads because I've been busy with exams over the past couple of weeks, which I only just finished a few hours ago. I probably ended up spending too much time modding when I should have been studying as it was haha.
Reneer Posted June 29, 2016 Posted June 29, 2016 On 6/28/2016 at 8:49 AM, steve40 said: I know. I just said it for the benefit of the OP. Cheers.Heh, sorry. My reading skills apparently went out the window there.
Recommended Posts