» Fri Nov 26, 2010 11:21 pm
Yeah, even if an inventory doesn't contain a certain item, http://geck.gamesas.com/index.php/RemoveItem would still compile. The issue was that "UncleRoe" is the editorID of a base form, as opposed to a reference. Reference functions can only be called on references, so if you attempt to call it on a base form the script won't compile. "UncleRoeRef" is the editorRefID of a persistent reference, so there's no problem with using it to call a reference function.
For future reference, posting the compiler error with a problem like this helps immensely when it comes to figuring out the problem.
Cipscis