Is there an iterator function that works on non-actor objects? Like ForEach AllActors, but works for non-actors?
For example,
gets a type mismatch error since the class 'Texture' isn't an Actor... what can I use instead of AllActors? (I tried AllObjects, which unfortunately doesn't exist.)
For example,
Code:
function PreRender(canvas Canvas)
{
local Texture ThisTexture;
foreach AllActors(Class'Texture', ThisTexture)
ThisTexture.Palette = Palette'MyTexturePackage.Palette7';
}
gets a type mismatch error since the class 'Texture' isn't an Actor... what can I use instead of AllActors? (I tried AllObjects, which unfortunately doesn't exist.)
Last edited by a moderator: