Page 1 of 1

[wip] Ben - NPC

Posted: 06 Jun 2010, 22:18
by Dark_Mag
I decided to make new NPC. I hope you like it... 8)

>>Click Here<<

Re: [wip] Ben - NPC

Posted: 08 Jun 2010, 03:20
by John P
I like the gameworld quiz concept.

Re: [wip] Ben - NPC

Posted: 08 Jun 2010, 03:50
by Jaxad0127
You need to enclose all string literals in double quotes (").

Re: [wip] Ben - NPC

Posted: 08 Jun 2010, 07:12
by Dark_Mag
Like this one?

>>Click Here<<

Re: [wip] Ben - NPC

Posted: 08 Jun 2010, 16:14
by Jaxad0127
Your missing \ in front of " you want appearing in the text sent to the client.

What I mean by string literals:

Code: Select all

if(@name$ == Mana Potion)
should be

Code: Select all

if(@name$ == "Mana Potion")

Re: [wip] Ben - NPC

Posted: 08 Jun 2010, 16:28
by Dark_Mag
Edited.

>>Click Here<<

Re: [wip] Ben - NPC

Posted: 10 Jun 2010, 11:00
by lien
I like the concept
but some players aren't good in spelling ( like me )
so
for example

Code: Select all

if(@name$ == "Hurnscland" || "hurnscland" ) goto L_Yes;
and I think

Code: Select all

	set @TEMP, rand(5);
	if(@TEMP == 0) goto L_Req0;
	if(@TEMP == 1) goto L_Req1;
	if(@TEMP == 2) goto L_Req2;
	if(@TEMP == 3) goto L_Req3;
	if(@TEMP == 4) goto L_Req4;
should be

Code: Select all

	set @TEMP, rand(BaseLevel/8);
	if(@TEMP == 0) goto L_Req0;
	if(@TEMP == 1) goto L_Req1;
	if(@TEMP == 2) goto L_Req2;
	if(@TEMP == 3) goto L_Req3;
	if(@TEMP == 4) goto L_Req4;
L_Req4 is a hard question for high level .
just a idea . :wink:

Lien ...

Re: [wip] Ben - NPC

Posted: 10 Jun 2010, 11:24
by Dark_Mag
lien wrote:I like the concept
but some players aren't good in spelling ( like me )
so
for example

Code: Select all

if(@name$ == "Hurnscland" || "hurnscland" ) goto L_Yes;
and I think

Code: Select all

	set @TEMP, rand(5);
	if(@TEMP == 0) goto L_Req0;
	if(@TEMP == 1) goto L_Req1;
	if(@TEMP == 2) goto L_Req2;
	if(@TEMP == 3) goto L_Req3;
	if(@TEMP == 4) goto L_Req4;
should be

Code: Select all

	set @TEMP, rand(BaseLevel/8);
	if(@TEMP == 0) goto L_Req0;
	if(@TEMP == 1) goto L_Req1;
	if(@TEMP == 2) goto L_Req2;
	if(@TEMP == 3) goto L_Req3;
	if(@TEMP == 4) goto L_Req4;
L_Req4 is a hard question for high level .
just a idea . :wink:

Lien ...
Ok, about different answers, connected with big or small characters I agree, but about lvl, I think it's for everybody. :wink:

>>Click Here<<

Re: [wip] Ben - NPC

Posted: 10 Jun 2010, 14:23
by Bertram
Hi,

Are there any uppercase script functions for eA?

Regards.

Re: [wip] Ben - NPC

Posted: 10 Jun 2010, 15:16
by Dark_Mag
Erm... As I know yes... But it's only my mind... Really, you should ask Jaxad, he knows it better. 8)