Basically, I have a script. It needs to do some things. It needs to, when a button is pressed, begin raising a ceiling, when that is done, raise another, and then another. While this is happening, I need it to progressively spawn chaingunners. I can't figure this out. It seems as if I have to have everything happen at once. This is what I have so far, and I don't necessarily want someone to do it for me, but I'd like a walkthrough so I understand and can repeat it. (Thanks!)
Question
StevenC21
Basically, I have a script. It needs to do some things. It needs to, when a button is pressed, begin raising a ceiling, when that is done, raise another, and then another. While this is happening, I need it to progressively spawn chaingunners. I can't figure this out. It seems as if I have to have everything happen at once. This is what I have so far, and I don't necessarily want someone to do it for me, but I'd like a walkthrough so I understand and can repeat it. (Thanks!)
#include "zcommon.acs"
script 1 (void)
{
Ceiling_RaiseByValue(1, 1, 120);
Thing_Spawn(3, T_CHAINGUY, 90);
}
Share this post
Link to post
4 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.