NOCLIP & INVISIBLE vs. NOSECTOR vs. NOINTERACTION & INVISIBLE.
Which one is least "hacky"?
What I want to do is hide an actor from the map, but keep it around so ACS and other action special checks can still work.
EDIT: Protip: don't use NOSECTOR without NOBLOCKMAP on revivable monsters. Archviles would crash the game upon resurrecting them. Fixed. Thanks, folks.
Most appropriate way to "hide" an actor?
Moderator: GZDoom 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.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
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.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
-
- Posts: 296
- Joined: Tue Jan 19, 2010 5:07 pm
Re: Most appropriate way to "hide" an actor?
I think NOINTERACTION should be sufficient. You can set RenderStyle to None too.
-
-
- Posts: 3819
- Joined: Sun Aug 07, 2011 4:32 am
Re: Most appropriate way to "hide" an actor?
Runnable sample please, preferably with a bug report.Lud wrote:EDIT: Protip: don't use NOSECTOR without NOBLOCKMAP on revivable monsters. Archviles would crash the game upon resurrecting them.
-
- Lead GZDoom+Raze Developer
- Posts: 49211
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Most appropriate way to "hide" an actor?
You definitely should use NOBLOCKMAP+NOSECTOR to remove the actor from as many internal processing lists as possible.
-
- Posts: 2383
- Joined: Thu Feb 11, 2016 9:59 am
Re: Most appropriate way to "hide" an actor?
Done. Thank you.