decorate flag: +hatetarget
Moderator: GZDoom Developers
-
Necromage
- Posts: 484
- Joined: Thu Feb 10, 2005 3:13 pm
- Location: NJ
decorate flag: +hatetarget
Self-explanitory. Something with this flag will draw monsters to it like the player does. Maybe have something like +IgnorePlayerHateTarget, which causes the monster to only go after this thing and to totally ignore the player.
-
Shadelight
- Posts: 5113
- Joined: Fri May 20, 2005 11:16 am
- Location: Labrynna
-
Inuyasha_989
- Posts: 612
- Joined: Thu Oct 16, 2003 2:51 pm
- Location: Player Connector
-
Necromage
- Posts: 484
- Joined: Thu Feb 10, 2005 3:13 pm
- Location: NJ
but from what i have been reading thing hate requires that the monster also needs a tid and while i could simply just have all the monsters have the same tid, what if need certain monsters to something else? I cannot give a monster two tids. And then on top of that you need to tag the hate target and as far as I know the only action that will give it a tid is the thing_spawn and that needs a map spot. The flag seems to be so much easier.
-
Necromage
- Posts: 484
- Joined: Thu Feb 10, 2005 3:13 pm
- Location: NJ
-
justin024
- Posts: 379
- Joined: Sun Nov 14, 2004 1:29 am
- Location: Illinois
-
TheDarkArchon
- Posts: 7656
- Joined: Sat Aug 07, 2004 5:14 am
- Location: Some cold place
-
justin024
- Posts: 379
- Joined: Sun Nov 14, 2004 1:29 am
- Location: Illinois
-
Necromage
- Posts: 484
- Joined: Thu Feb 10, 2005 3:13 pm
- Location: NJ
I do not think you get it. I want monsters to hate whatever has the +hatetarget flag not the other way around. +friendly does that fine.
Example: you spawn a decoy that looks like the player but does nothing. If you give it the +hatetarget flag then monsters will go for it like the player. Other wise they will just ignore it.
Thing_Hate is terrible for this because it takes a tid for the hatee. The hatee is the thing that is supposed to hate whatever you want. So you have to give it a spicifc tid and that causes problems when you want to use that thing for something else.
Example: you spawn a decoy that looks like the player but does nothing. If you give it the +hatetarget flag then monsters will go for it like the player. Other wise they will just ignore it.
Thing_Hate is terrible for this because it takes a tid for the hatee. The hatee is the thing that is supposed to hate whatever you want. So you have to give it a spicifc tid and that causes problems when you want to use that thing for something else.