dubird 0 Posted June 27, 2011 Ok, I created a mod for a bit of armor I'm fond of, and I would really like to add it to the footlocker in the Exile's room on the Harbringer. Problem is, I can't figure out how to place. I did manage to work on a dialogue addition that adds it to your inventory at one point, but I can't figure out what the reference is for the footlocker. I was wondering if anyone else has done this or knows how to find it. I've tried every variation of the reference that I can think of, and it keeps telling me it's not valid. Here's what I have: void main () { object oContainer = g_gresmillow007(2389); int nQuantity = 1; CreateItemOnObject("exilearmor", oContainer, nQuantity); } Yes, I know that's not correct, but that's the footlocker as stated in KT, so I'm unclear what exactly I should be using. In case it's not odvious, I'm not familar with scripting, so it's probally something simple, but I can't find any sytanx tutorials or references. Quote Share this post Link to post Share on other sites
Hassat Hunter 571 Posted June 27, 2011 g_tresmillow007 You typo'd it. That could explain something... Quote Share this post Link to post Share on other sites
dubird 0 Posted June 27, 2011 It's still giving me an error. void main () { object oContainer = g_tresmillow007(2389); int nQuantity = 1; CreateItemOnObject("exilearmor", oContainer, nQuantity); } Error: Undeclared identifier "g_tresmillow007" Quote Share this post Link to post Share on other sites
Hassat Hunter 571 Posted June 29, 2011 Try object oContainer = GetObjectByTag("g_tresmillow007(2389)"); Not sure why you include those numbers though, what's that for? Quote Share this post Link to post Share on other sites