Page 1 of 1

Wiki is Incorect?

Posted: Fri Jun 24, 2005 1:27 am
by Iron Skull
i found some cool thing for ASC in the Wiki but it doesnt work :/

Code: Select all

script 39 Open
{
secrtotal = GetLevelInfo(LEVELINFO_TOTAL_SECRETS);
secrfound = GetLevelInfo(LEVELINFO_FOUND_SECRETS);
}
i found this fcking code http://www.zdoom.org/wiki/index.php?title=GetLevelInfo

I think its a Stupid qeustion or something but what wrong with the Code :?

Posted: Fri Jun 24, 2005 1:31 am
by MasterOFDeath
I would help you but the only thing I am capable of saying is flames, [censored word] acronymns, overused references to games, sexually related jokes, and bad advice on top of it. So go lol urself.

Posted: Fri Jun 24, 2005 1:48 am
by Iron Skull
MasterOFDeath wrote:I would help you but the only thing I am capable of saying is flames, [censored word] acronymns, overused references to games, sexually related jokes, and bad advice on top of it. So go lol urself.
WTF were are you talking about... :shock: your Really Stupid plz go Spam somewere else :/

Posted: Fri Jun 24, 2005 4:10 am
by Cardboard Marty
[sarcasm]I guess the wiki is incorrect.[/sarcasm]

Posted: Fri Jun 24, 2005 4:46 am
by Iron Skull
-.- What did i do wrong then?

Re: Wiki is Incorect?

Posted: Fri Jun 24, 2005 5:08 am
by NiGHTMARE
Iron Skull wrote:i found some cool thing for ASC in the Wiki but it doesnt work :/

Code: Select all

script 39 Open
{
secrtotal = GetLevelInfo(LEVELINFO_TOTAL_SECRETS);
secrfound = GetLevelInfo(LEVELINFO_FOUND_SECRETS);
}
i found this fcking code http://www.zdoom.org/wiki/index.php?title=GetLevelInfo

I think its a Stupid qeustion or something but what wrong with the Code :?
I believe it should look like this:

Code: Select all

script 39 Open
{
int secrtotal = GetLevelInfo(LEVELINFO_TOTAL_SECRETS),
secrfound = GetLevelInfo(LEVELINFO_FOUND_SECRETS);
}

Posted: Fri Jun 24, 2005 10:14 am
by Iron Skull
i already delceared the variables

Posted: Fri Jun 24, 2005 10:43 am
by Risen
Well, what's wrong with it, then?

I can assure you that you can get these values through ACS. The KDIZD intermap not only depends on it, but that's what these ACS functions were created for.

Posted: Fri Jun 24, 2005 11:45 am
by TheDarkArchon
10p says old version of ACC is the problem.

Posted: Fri Jun 24, 2005 3:03 pm
by Ninja_of_DooM
TheDarkArchon wrote:10p says old version of ACC is the problem.
:whip:

Posted: Fri Jun 24, 2005 6:35 pm
by Kirby
What exactly are you trying to do? All you have your script doing is calling the values.

Posted: Sat Jun 25, 2005 12:18 am
by Iron Skull
Impclaw and me are working on a map were alot of monsters spawn and add some RPG Stuff like a Shop, Level and stuff...
Ive put some weapons in the map in a secret place. and some from the secrets are Very secret. thats why i use secrtotal. The otherone is for making the Print Script better readable

Code: Select all

hudmessage(s:"Secrets:", d:secrfound, s:"/" , d:secrtotal ; HUDMSG_PLAIN, 6, CR_GREY, 0, 0.30, 1);

Posted: Sat Jun 25, 2005 8:23 am
by TheDarkArchon

Code: Select all

script 39 ENTER
{
secrtotal = GetLevelInfo(LEVELINFO_TOTAL_SECRETS);
secrfound = GetLevelInfo(LEVELINFO_FOUND_SECRETS);
Delay(1);
Restart;
}
I lose my 10p :(

Posted: Sat Jun 25, 2005 1:18 pm
by Iron Skull
what do you meen with that code?
i cant use it :P first secrtotal = GetLevelInfo(LEVELINFO_TOTAL_SECRETS); Just doesnt work second: secrtotal isalways the number from the total i cant Reduce it with 1 so cant use that ether :/