kassianoaguiar Posted April 5, 2020 What is the code pointer of the "Action functions" that makes it so that when a monster dies in the middle of the open door it will never close? That the player still goes through the body freely. 0 Quote Share this post Link to post
0 boris Posted April 5, 2020 This has nothing to do with the body. The door simply has the action D1 Door (Blue) Open Stay. It will never close once opened, no matter what. 0 Quote Share this post Link to post
0 kassianoaguiar Posted April 5, 2020 (edited) It is for any type of door. I look for a function of the body so that all the general doors of doom do not close as if someone were alive in the middle of the door. example: "DOOMFORMATDOOM action 1 = door open wait close (also monsters) " the doors simply open and close with the body still there and unfortunately destroys the body and the ammunition ... I don't want that! I wanted a function for the door not to close anymore with a body in the middle: example: Death: TROO I 8 TROO J 8 A_Scream TROO K 6 TROO L 6 A_NoBlocking TROO M -1 WHAT TO PUT HERE? Stop Edited April 5, 2020 by kassianoaguiar 0 Quote Share this post Link to post
0 Kappes Buur Posted April 6, 2020 (edited) You could devise a solid actor which prevents the door from either partially or fully closing, depending on the actor's height. For example: ACTOR impbody 19991 { Health 20 Radius 10 Height 34 +SOLID +SHOOTABLE +DONTGIB States { Spawn: TROO M -1 Loop } } After shooting at the actor the door does close. So, if you really want the door to stay open then do not shoot the actor. Edited April 6, 2020 by Kappes Buur 1 Quote Share this post Link to post
0 kassianoaguiar Posted April 6, 2020 (edited) 3 hours ago, Kappes Buur said: Kappers Buur: What is the "Action funtion" that I can invoke? "A_SpawnItem" by any chance? example: Death: TROO I 8 TROO J 8 A_Scream TROO K 6 A_NoBlocking TROO L 6 PUT HERE "A_SpawnItem ("Type")"? Stop Edited April 6, 2020 by kassianoaguiar 0 Quote Share this post Link to post
0 Kappes Buur Posted April 6, 2020 (edited) Load the DECORATE script which I posted into your pwad. In Things Mode insert the ImpBody (19991) from User defined into the door sector. Make a linedef in front of the door and attach the Door_Close action special with walkover activation. As the player walks over the linedef the door closes to a height given in DECORATE, in this case 34, high enough for the player to crouch under the door. When shooting the dead imp the door will close fully. However, the shooting part can be eliminated from DECORATE for the door to stay open at the given height. Spoiler Spoiler Spoiler Edited April 6, 2020 by Kappes Buur 1 Quote Share this post Link to post
Question
kassianoaguiar
What is the code pointer of the "Action functions" that makes it so that when a monster dies in the middle of the open door it will never close?
That the player still goes through the body freely.
Share this post
Link to post
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.