Basically, I am trying to make a cracked wall that you fire a rocket at (or blow up a barrel near, etc.) to break it. I know how to code the cracking wall part, but I need to create an actor that can only take damage from explosions so that I can attach the script to this actor's death. Is there anyway to do this without modifying the weapons' DECORATE (as I want to keep mod compatibility)?
Thanks in advance.
			
			
									
						
										
						Actor that can only be harmed by rockets?
					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.
- DoomRater
 - Posts: 8270
 - Joined: Wed Jul 28, 2004 8:21 am
 - Preferred Pronouns: He/Him
 - Location: WATR HQ
 - Contact:
 
Re: Actor that can only be harmed by rockets?
Go with the barrel idea.  Make sure the barrel does a unique type of damage when it explodes, but the caveat is that you could use any weapon to detonate it really.
I took a quick peek at the weapons to see if rockets did a type of Explosive damage, but didn't see any tags for it.
			
			
									
						
										
						I took a quick peek at the weapons to see if rockets did a type of Explosive damage, but didn't see any tags for it.
- InsanityBringer
 - Posts: 3392
 - Joined: Thu Jul 05, 2007 4:53 pm
 - Location: opening the forbidden box
 
Re: Actor that can only be harmed by rockets?
+VULNERABLE on the actor taking damage is what you want. Do not flag them as +SHOOTABLE
			
			
									
						
										
						- DoomRater
 - Posts: 8270
 - Joined: Wed Jul 28, 2004 8:21 am
 - Preferred Pronouns: He/Him
 - Location: WATR HQ
 - Contact:
 
Re: Actor that can only be harmed by rockets?
So only radius damage injures it that way?  I'll remember that one...
			
			
									
						
										
						Re: Actor that can only be harmed by rockets?
This worked fantastically, thanks!InsanityBringer wrote:+VULNERABLE on the actor taking damage is what you want. Do not flag them as +SHOOTABLE
