Code: Select all
script 39 Open
{
secrtotal = GetLevelInfo(LEVELINFO_TOTAL_SECRETS);
secrfound = GetLevelInfo(LEVELINFO_FOUND_SECRETS);
}
I think its a Stupid qeustion or something but what wrong with the Code

Code: Select all
script 39 Open
{
secrtotal = GetLevelInfo(LEVELINFO_TOTAL_SECRETS);
secrfound = GetLevelInfo(LEVELINFO_FOUND_SECRETS);
}
I believe it should look like this:Iron Skull wrote:i found some cool thing for ASC in the Wiki but it doesnt work :/
i found this fcking code http://www.zdoom.org/wiki/index.php?title=GetLevelInfoCode: Select all
script 39 Open { secrtotal = GetLevelInfo(LEVELINFO_TOTAL_SECRETS); secrfound = GetLevelInfo(LEVELINFO_FOUND_SECRETS); }
I think its a Stupid qeustion or something but what wrong with the Code
Code: Select all
script 39 Open
{
int secrtotal = GetLevelInfo(LEVELINFO_TOTAL_SECRETS),
secrfound = GetLevelInfo(LEVELINFO_FOUND_SECRETS);
}
Code: Select all
hudmessage(s:"Secrets:", d:secrfound, s:"/" , d:secrtotal ; HUDMSG_PLAIN, 6, CR_GREY, 0, 0.30, 1);
Code: Select all
script 39 ENTER
{
secrtotal = GetLevelInfo(LEVELINFO_TOTAL_SECRETS);
secrfound = GetLevelInfo(LEVELINFO_FOUND_SECRETS);
Delay(1);
Restart;
}