Code: Select all
#include "zcommon.acs"
script 1 (void) //here was the mistake
{
Ceiling_RaiseByValue(1,16,720);
Thing_SpawnFacing(1,5,1,999);
}
Spoiler: Original post
Moderator: GZDoom Developers
Post by Joven0culto »
Code: Select all
#include "zcommon.acs"
script 1 (void) //here was the mistake
{
Ceiling_RaiseByValue(1,16,720);
Thing_SpawnFacing(1,5,1,999);
}
Spoiler: Original post
Well, this is the thing, I have one very simple script attached to a linedef as switch like this:
Action: 80 Script Execute.
Script Number: Script 1 (the correct one, in fact the only one in this map)
Activation: When Player presses use.
The intention is simple, you press the linedef switch and the script runs, but it does't, ir runs automaticaly when the level starts.
The script itself is really simple:I'm doing something wrong yes, but what?Code: Select all
#include "zcommon.acs" script 1 OPEN { Ceiling_RaiseByValue(1,16,720); Thing_SpawnFacing(1,5,1,999); }