In this tutorial (I know, it's been a while!), I show you how to make a basic elevator for your Doom map!
Script Below:
#include "zcommon.acs"
//Initialize Floor Variable, duh.
int floor;
//This is our script which is activated
//via a nifty little switch.
script 1 (void)
{
if (floor==1)
{
Elevator_LowerToNearest (1, 16);
floor=0;
}
else
{
Elevator_RaiseToNearest (1, 16);
floor=1;
}
}
//This is the script we activate when we're in the lower sector
script 2 (void)
{
Elevator_MoveToFloor (1, 16);
floor=0;
}
//This is the script we activate from the upper sector
script 3 (void)
{
Elevator_MoveToFloor (1, 16);
floor=1;
}
Nesta página do site você pode assistir ao vídeo on-line Doom Builder Tutorials - Elevator duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário JaundiceJaun 20 Junho 2012, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 4,108 vezes e gostou 53 espectadores. Boa visualização!