Monster utilizing a Boom puller can't deactivate it
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: 205
- Joined: Wed Aug 02, 2017 3:01 pm
- Location: Illinois
Monster utilizing a Boom puller can't deactivate it
I made an enemy which sucks the player towards it using a Boom puller. The problem is that the puller cannot be disabled with either Thing_DeActivate(); or Sector_ChangeFlags(); . What is also weird is that the monster is able to enable the sector puller ability in the first place. There are 2 places in my code where this is important: The Pain and Suck states. Take a look at it yourself: https://ufile.io/tr41woip
-
- Posts: 205
- Joined: Wed Aug 02, 2017 3:01 pm
- Location: Illinois
Re: Monster utilizing a Boom puller can't deactivate it
Sorry for the double post but I just figured out that if the pusher/puller isn't spawned in the same sector as the one you are trying to activate/deactivate then it won't work!! 
