Soldier Mercenary Posted May 3, 2023 Hey, I'm unsure if this is even possible, but I was wondering if there is any way to time a scripted event? Here's an example: Let's say I press a button that activates a script to open a door. Is there a way to have that door open a certain amount of time after the button has been pressed? Same goes for any other types of scripts. (Playing sounds, spawning monsters, etcetera.) Any answers are greatly appreciated! Have a great day/night! 0 Quote Share this post Link to post
Sinnesloeschen Posted May 3, 2023 I would do that with a voodoo doll closet, but by the sound of it you are using actual scripting. ^^ 1 Quote Share this post Link to post
KeenKyle Posted May 3, 2023 (edited) If you're using Zdoom script you can use "Delay()" For example... script 1 (void) { Delay(25); Floor_RaiseToLowestCeiling (5,64); } The timing is in game tics. Edited May 3, 2023 by KeenKyle 2 Quote Share this post Link to post
Soldier Mercenary Posted May 3, 2023 Those both seem to be very viable options! With that being said, I think I've gotten my answer! I appreciate the tips. Thank you! 0 Quote Share this post Link to post
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.