Hm yea that's clearly wrong. You don't have to pass level. variables to other methods. level. variables are globally and accessible everywhere.
Additionally you have to define new variable names for the method arguments. For example like this:
Additionally you have to define new variable names for the method arguments. For example like this:
Code:
// we call te method here
Something ( self.origin, model)
// the method
Something (origin, model)
{
// code here
// level.mm2_something_range = defined
// model.range = defined
}