get_instance_invoke_num | Precisamento

get_instance_invoke_num

Home
functions
constants
json
examples

Invokes a method on an instance, and returns the result as a number.

Syntax

1
get_instance_invoke_num(id, method_name, argument_count)
Argument Type Description
id double The id of the instance that will call the method.
method_name string The name of the method to call.
argument_count double The number of arguments loaded to be passed to the method.

Returns: Real

Description

This function invokes a method on an instance, and returns the result as a number. First, load the method arguments, then call this function.