Wiki is Incorect?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Iron Skull
Posts: 64
Joined: Fri Dec 03, 2004 1:07 pm
Location: The Netherlands

Wiki is Incorect?

Post 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 :?
User avatar
MasterOFDeath
... in rememberance ...
Posts: 2024
Joined: Sat Apr 03, 2004 10:58 am

Post 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.
User avatar
Iron Skull
Posts: 64
Joined: Fri Dec 03, 2004 1:07 pm
Location: The Netherlands

Post 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 :/
User avatar
Cardboard Marty
Posts: 1149
Joined: Sat Oct 23, 2004 8:29 am
Graphics Processor: nVidia with Vulkan support
Location: Robot Mountain
Contact:

Post by Cardboard Marty »

[sarcasm]I guess the wiki is incorrect.[/sarcasm]
User avatar
Iron Skull
Posts: 64
Joined: Fri Dec 03, 2004 1:07 pm
Location: The Netherlands

Post by Iron Skull »

-.- What did i do wrong then?
NiGHTMARE
Posts: 3463
Joined: Sat Jul 19, 2003 8:39 am

Re: Wiki is Incorect?

Post 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);
}
User avatar
Iron Skull
Posts: 64
Joined: Fri Dec 03, 2004 1:07 pm
Location: The Netherlands

Post by Iron Skull »

i already delceared the variables
User avatar
Risen
Posts: 5263
Joined: Thu Jan 08, 2004 1:02 pm
Location: N44°30' W073°05'

Post 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.
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

10p says old version of ACC is the problem.
Ninja_of_DooM
Posts: 667
Joined: Tue Aug 05, 2003 2:42 am
Location: Lossiemouth, Scotland
Contact:

Post by Ninja_of_DooM »

TheDarkArchon wrote:10p says old version of ACC is the problem.
:whip:
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

What exactly are you trying to do? All you have your script doing is calling the values.
User avatar
Iron Skull
Posts: 64
Joined: Fri Dec 03, 2004 1:07 pm
Location: The Netherlands

Post 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);
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post 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 :(
Last edited by TheDarkArchon on Sat Jun 25, 2005 2:16 pm, edited 1 time in total.
User avatar
Iron Skull
Posts: 64
Joined: Fri Dec 03, 2004 1:07 pm
Location: The Netherlands

Post 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 :/
Locked

Return to “Editing (Archive)”