How do you reset a translation without an error message?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

How do you reset a translation without an error message?

Post by Matt »

I've got an actor that inherits from an actor that has a custom translation, and I don't want that translation to affect the new actor.

I've tried:

translation none
translation ""
translation "none"

and they all give error messages in the console (while still having the intended effect of having no translation apply to that actor).

What is the "correct" way to do this, without completely restructuring the inheritance chain? Is there one?
User avatar
Greyfalll
Posts: 15
Joined: Sat Aug 30, 2014 11:44 pm
Location: Pokke Village

Re: How do you reset a translation without an error message?

Post by Greyfalll »

Translation "0:0=0:0" ?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: How do you reset a translation without an error message?

Post by Graf Zahl »

This has never been considered so far. While Greyfall's suggestion appears to do the right thing, it actually creates a new identity translation instead of resetting it.
The correct solution should be 'translation "none"' but it needs to be implemented first.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: How do you reset a translation without an error message?

Post by Graf Zahl »

... and done.
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Re: How do you reset a translation without an error message?

Post by Matt »

Sweet, thanks!
Locked

Return to “Editing (Archive)”