dubird Posted June 27, 2011 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
Hassat Hunter Posted June 27, 2011 Posted June 27, 2011 g_tresmillow007 You typo'd it. That could explain something... Quote
dubird Posted June 27, 2011 Author 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
Hassat Hunter Posted June 29, 2011 Posted June 29, 2011 Try object oContainer = GetObjectByTag("g_tresmillow007(2389)"); Not sure why you include those numbers though, what's that for? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.