I read in the wiki that a negative ReactionTime in a monster properties make the said monster to not attack unless attacked first.
What I want is a way to group this behaviour with monsters of the same tag. Is this even possible in a way ?
(For example : This way a swarm of monsters could easily surround the player (thus making him forced to shoot to move), making not only the monster he fired at, but also all the others around to start to retaliate. I wanted to use the tag parameter because I don't want monsters of the same specie elsewhere hidden in the map to change their behaviour too while they are not part of the current fight...)
Thanks in advance.
Synchronized monster reaction?
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: Synchronized monster reaction?
The only way I can think of is to set the group of monsters to be dormant, then do Thing_Activate on them when you want them to wake up together. May need to combine it with a NoiseAlert or something. Since you are using tags I assume this to be a scripted event in a map.
Re: Synchronized monster reaction?
Well, if they are dormant, they couldn't surround the player...
I'd like them to come to him "peacefully", until player loose his temper and shoot at them first.
I'd like them to come to him "peacefully", until player loose his temper and shoot at them first.
- Caligari87
- Admin
- Posts: 6233
- Joined: Thu Feb 26, 2004 3:02 pm
- Preferred Pronouns: He/Him
- Contact:
Re: Synchronized monster reaction?
Have the monsters acquire and chase the player as normal, but put an inventory check to prevent them from jumping to their attack states if they don't have a certain dummy item. If the player shoots, have the weapon perform [wiki]A_RadiusGive[/wiki] and dump that inventory item to the monsters so they start jumping to their attack states. Alternatively, have the monster do the radiusgive if they go into a pain or death state. That would cause monsters near them to "defend" them.


Re: Synchronized monster reaction?
Awesome ! I'll try this out, thanks a lot !Caligari87 wrote:Alternatively, have the monster do the radiusgive if they go into a pain or death state. That would cause monsters near them to "defend" them.
