Alias_TestChest.GetReference().AddItem(Alias_Moth.GetReference())
and it works like a champ. When you hit the appropriate stage, the chest fills with the Moth jar. However, when I attempt it within a dialogue script like so:
Scriptname InsectTurnIN extends ObjectReferenceAlias Property TBJBurke Auto Alias Property Insect Auto function giveBug() TBJBurke.GetReference().AddItem(Insect.GetReference()) endFunction
I get these errors
c:\program files\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\InsectTurnIN.psc(12,13): GetReference is not a function or does not exist
c:\program files\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\InsectTurnIN.psc(12,43): GetReference is not a function or does not exist
c:\program files\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\InsectTurnIN.psc(12,28): none is not a known user-defined type
No output generated for InsectTurnIN, compilation failed.
telling me I can't use getreference. Can anyone tell me why?
