Game Play

Instances

Downloadinstance_closest_approach(inst)   Returns the closest distance that a given instance will approach the current instance. Downloadinstance_nth_nearest(x,y,obj,n)   Returns the id of the nth nearest instance of type obj to (x,y). Downloadinstance_nth_farthest(x,y,obj,n)   Returns the id of the nth farthest instance of type obj from (x,y). Downloadinstance_find_enemy(object)   Finds the nearest instance of a given object with a local variable, team, different from the calling instance. If no instance is found keyword "noone" is returned. Downloadinstance_find_friend(object)   Returns the nearest instance of a given object where local variable "team" is the same as the calling instance. If no instance is found keyword "noone" is returned. Downloadinstance_find_team(object)   Returns the nearest instance of a given object where local variable "team" is set to the given value. If no instance is found keyword "noone" is returned. Downloadrange_finder(x,y,dir,range,object,prec,notme)   Returns the exact distance to the nearest instance of the given object in the given direction from the given point.