jfk,
I merely added your code to my existing code. With exception of labels, the code should function the same. I divided and reduced the code into 3 functions for modularity: botSDReaction(this.bot), botSDWaypointSeek(this.bot), and botSDSensor(this.bot). The botSDSensor() contains the seeker code. I overlooked something in my translation, I'll figure it out.
The idea behind using labels is to use an existing editor. You could design all your geometry in one map if desired. The levelLoader is very flexible. Loading separate objects is no problem. However, if you insist on writting a dedicated map editor, I would be highly in favor of resurrecting your editor source to avoid rewriting.
I merely added your code to my existing code. With exception of labels, the code should function the same. I divided and reduced the code into 3 functions for modularity: botSDReaction(this.bot), botSDWaypointSeek(this.bot), and botSDSensor(this.bot). The botSDSensor() contains the seeker code. I overlooked something in my translation, I'll figure it out.
The idea behind using labels is to use an existing editor. You could design all your geometry in one map if desired. The levelLoader is very flexible. Loading separate objects is no problem. However, if you insist on writting a dedicated map editor, I would be highly in favor of resurrecting your editor source to avoid rewriting.