Make Actor use other sprites

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

Moderators: GZDoom Developers, Raze Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
User avatar
TacoMutation
Posts: 1
Joined: Mon Dec 16, 2024 2:29 am

Make Actor use other sprites

Post by TacoMutation »

Hi, I have several identical Actors with graphical variation.

Is there any way to just replace the sprites used instead of copying the entire Actor? I have searched for a solution but cannot seem to find one.

Example I would like to replace "AAAA" to "BBBB" without copying the entire actor. Some kind of magic #REPLACE operation

Code: Select all

class Actor1: Actor
{
	Default
	{

	}
	States
	{
	
	Spawn:
		AAAA ABCDEFGH 4();
		Loop;
}

Return to “Assets (and other stuff)”