Classes:ActorIterator
(Redirected from ActorIterator)
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.
Functions
| Return Type | Function | Arguments | Use/Arguments |
|---|---|---|---|
| ActorIterator | Create (deprecated) |
|
Note: as of GZDoom 4.0.0, this function has been deprecated in favor of
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. |