include library.utils; const string CONTROLLER = "object/tangible/ground_spawning/patrol_waypoint.iff"; trigger OnInitialize() { location selfLoc = getLocation(self); obj_id objects[] = getObjectsInRange(selfLoc, .1f); boolean exists = false; if (objects != null || objects.length > 0) { for (int i =0;i