Code: Select all
Ceiling_CrushAndRaiseA(12, 16, 16, 5);
Delay(35 * 8);
Ceiling_CrushStop(12);
Delay(1);
Ceiling_MoveToValue(12, 16, 144, 0);
This is on GZDoom 2.2.0
Code: Select all
Ceiling_CrushAndRaiseA(12, 16, 16, 5);
Delay(35 * 8);
Ceiling_CrushStop(12);
Delay(1);
Ceiling_MoveToValue(12, 16, 144, 0);
Code: Select all
script 1 (void)
{
print (s:"Moving tag 14.");
delay(35);
Ceiling_MoveToValue(14, 16, 144, 0);
print (s:"Start crusher 12.");
Ceiling_CrushAndRaiseA(12, 16, 16, 5);
Delay(35 * 8);
print (s:"Stop crusher 12.");
Ceiling_CrushStop(12);
//tagwait(12);
Delay(35);
print (s:"Move sectors 12 and 13 to 144.");
Ceiling_MoveToValue(12, 16, 144, 0);
Ceiling_MoveToValue(13, 16, 144, 0);
}
Interesting thought and, after testing; yes, and no. I tried giving the ceiling a different crush action in the script after everything else had stopped happening. I set it up to have very different values to the speed of the original crusher (and I also tried a couple of different crusher types) so that I could tell if it had worked or not. It did start the crusher moving again but it looked like it was just moving according to the original crusher values, not the new ones.Nevander wrote:The only way to move it again is probably with another crush action.
Code: Select all
#include "zcommon.acs"
script 1 (void)
{
print (s:"Moving tag 14.");
delay(35);
Ceiling_MoveToValue(14, 16, 144, 0);
print (s:"Start crusher 12.");
Ceiling_CrushAndRaiseA(12, 16, 16, 5);
Delay(35 * 8);
print (s:"Stop crusher 12 with extra parameter.");
Ceiling_CrushStop(12, 1);
delay(35);
print (s:"Tagwait now.");
tagwait(12);
Delay(35);
print (s:"Move sectors 12 and 13 to 144.");
Ceiling_MoveToValue(12, 16, 144, 0);
Ceiling_MoveToValue(13, 16, 144, 0);
}
Code: Select all
#include "zcommon.acs"
script 1 (void)
{
print (s:"Moving tag 14.");
delay(35);
Ceiling_MoveToValue(14, 16, 144, 0);
print (s:"Start crusher 12.");
Ceiling_CrushAndRaiseA(12, 16, 16, 5);
Delay(35 * 8);
print (s:"Stop crusher 12 with extra parameter set at 2.");
Ceiling_CrushStop(12, 2);
delay(35);
print (s:"Tagwait now.");
tagwait(12);
Delay(35);
print (s:"Move sectors 12 and 13 to 144.");
Ceiling_MoveToValue(12, 16, 144, 0);
Ceiling_MoveToValue(13, 16, 144, 0);
}
Code: Select all
276:Ceiling_Stop(1),
Don't use obsolete software!Enjay wrote: DeePsea
1: I'm working on it... slowly.Graf Zahl wrote:Don't use obsolete software!
Can you post the map that hung?