Jump to navigation Jump to search
|Note: This feature is for ZScript only.|
ActorIterator is a lighter-in-comparison iterator compared to its brothers, ThinkerIterator and BlockThingsIterator which is much less resource intensive. However, actors require a TID in order for this to qualify them as part of the iteration. As such, a tid of 0 will not work at all.
(Note: as of GZDoom 4.0.0, this function has been deprecated in favor of CreateActorIterator.) Initializes the iterator, searching for an actor of type and with the specific tid. TID must not be 0.
Note: this function is static and should be called off the class name, i.e. ActorIterator.Create(...).
|Actor||Next||None||Cycles through the list of existing actors, filtered out by the Create() function.|
|void||Reinit||None||Restarts the search.|