The on enter of the trigger needs to be a script that creates all of the monsters. The locations of the monsters will be the waypoints. You will need to come up with a means for the script to get the locations of the waypoints, and use those locations in their respective CreateObject methods which you call in the script. FindWaypointByTag is a good method to get the waypoints, then get the location of each waypoint.
You can then come up with a naming convention for your tags. Set the tag names as Local Strings on the trigger. The script on the trigger can then do the following
string sGoblinTag = GetLocalString(OBJECT_SELF, "TAG_NAME_1");
I haven't spelled out exactly how to do this, but you should have a grasp of the basic strategy. Let us know if you have more specific questions.
Modifié par henesua, 18 mai 2012 - 01:29 .