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!)
I downloaded the powercube decorate off of Realm667 website. The problem is Im trying to create a scenario were you need two powercubes to activate a single door.
Here is what I created in script:
Spoiler:
int powercube;
Script 2 (void)
{
powercube++;
switch (powercube)
{
Case 1:
print (s:"There is one more remaining!");
Break;
Case 2:
print (s:"Sequence has finished and the Slipgate has activated!");
Delay(60);
Thing_Activate(40);
FloorAndCeiling_RaiseByValue(110,32,160);
Delay(60);
ambientsound("amb65",127);
}
}
The script works but the powercube does not display any animation or sound when executed?