[96] Non-friendly monsters still target NOTARGET friendly's

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

[96] Non-friendly monsters still target NOTARGET friendly's

Post by Cutmanmike »

A non-friendly monster is getting hit by a friendly monsters with the +NOTARGET flag applied to it, yet the non-friendly tries to attack it.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

That's intended behavior. Friendliness overrides +NOTARGET.
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

Any possible way around this?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

What exactly do you need?
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

Well I have a gun turret which I want to attack any non friendly monsters but I don't want the non friendlies to attack back at them. That's right, I want them either sit there and take the damage or run after another target (Don't worry I have reasons).
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

For .96 you can't do anything at all.
For .96x I added an additional check that prevents monsters from targetting non-shootable things (because monsters in Heretic attacked the volcanoes.) If that gets added to the official version you can just specify '-SHOOTABLE'.
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

.....Would you kill me if I wanted players to be able to destroy them?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

:railgun:
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

Heh I knew that was coming. It's okay I can live without it. Thanks.
User avatar
Risen
Posts: 5263
Joined: Thu Jan 08, 2004 1:02 pm
Location: N44°30' W073°05'

Post by Risen »

Use a second invisible thing and ACS. When the thing is destroyed, destory the turret. The invisible thing won't be targeted by the monsters.
Post Reply

Return to “Closed Bugs [GZDoom]”