Can someone show me an example of a CreatePool script?
Example of CreatePool script?
Débuté par
Sonmeister
, mai 14 2010 08:47
#1
Posté 14 mai 2010 - 08:47
#2
Posté 14 mai 2010 - 09:23
The best way to accomplish that is to place the creatures in the area. Set them as inactive, and give them all one team. Then, in an action attached to the end dialog node, use UT_TeamAppears(nTeamID) with whatever team you assigned.
CreateObject/CreatePool shouldn't used very often. If you need to continuously replenish the number of creatures in a fight, with waves of new enemies coming, it may be the better approach, but for most things I find activating inactive creatures is much simpler, and better for performance.
CreateObject/CreatePool shouldn't used very often. If you need to continuously replenish the number of creatures in a fight, with waves of new enemies coming, it may be the better approach, but for most things I find activating inactive creatures is much simpler, and better for performance.





Retour en haut






