When should a function not be local?

I’ve noticed that several functions in a game I’m working on throw errors when not declared with local.

I am assuming it’s a variable scope issue but am not sure.

Is it simply that functions containing other function calls should be global? [import]uid: 1560 topic_id: 397 reply_id: 300397[/import]