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?
How do you reset a translation without an error message?
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.
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.
Re: How do you reset a translation without an error message?
Translation "0:0=0:0" ?
- Graf Zahl
- 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?
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.
The correct solution should be 'translation "none"' but it needs to be implemented first.
- 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?
Sweet, thanks!