Graal Forums  

Go Back   Graal Forums > Search Forums
FAQ Members List Calendar Today's Posts

Showing results 426 to 450 of 499
Search took 0.01 seconds; generated 83 minute(s) ago.
Search: Posts Made By: Tolnaftate2004
Forum: NPC Scripting 08-28-2006, 06:26 PM
Replies: 9
Views: 2,416
Posted By Tolnaftate2004
The error in RC should give you a line at which...

The error in RC should give you a line at which the script is exceeding the limit.
Give us that block of code.
Forum: Tech Support 08-25-2006, 09:46 PM
Replies: 6
Views: 983
Posted By Tolnaftate2004
It may be that you're trying to overload the...

It may be that you're trying to overload the message function. Did you try naming the function something different?
Forum: Code Gallery 08-25-2006, 07:45 PM
Replies: 6
Views: 2,084
Posted By Tolnaftate2004
Because the way I have it is the only way I could...

Because the way I have it is the only way I could figure out the recursion to work correctly. If I set the string inside of the function, any child that has children will be changed to that child's...
Forum: NPC Scripting 08-25-2006, 09:00 AM
Replies: 2
Views: 1,931
Posted By Tolnaftate2004
You want to use...

You want to use clientr.exp/clientr.exp_level*getimgwidth(image);
And only display the image when that value is greater than 0.
Forum: New Scripting Engine (GS2) 08-24-2006, 08:52 PM
Replies: 12
Views: 2,458
Posted By Tolnaftate2004
I'm gonna have to say it's not working because it...

I'm gonna have to say it's not working because it doesn't exist. :)
Forum: NPC Scripting 08-24-2006, 06:41 PM
Replies: 3
Views: 2,321
Posted By Tolnaftate2004
You could requesturl() a php/asp/perl/whatever...

You could requesturl() a php/asp/perl/whatever script that retrieves the necessary information.

e:
I think a bit of clarifying is in order.

I mean something like this:

temp.req =...
Forum: Code Gallery 08-24-2006, 05:22 AM
Replies: 6
Views: 2,084
Posted By Tolnaftate2004
No, parseXML just returns blahblah, so in effect...

No, parseXML just returns blahblah, so in effect I'd have just parsed some crazy string to come up with me = blahblah. It is written that way so that 'me' is given the properties stated above.

e:...
Forum: Code Gallery 08-23-2006, 08:48 PM
Replies: 6
Views: 2,084
Posted By Tolnaftate2004
Thanks, I was not aware that existed.

Thanks, I was not aware that existed.
Forum: Code Gallery 08-23-2006, 11:00 AM
Replies: 6
Views: 2,084
Posted By Tolnaftate2004
XML Parser

parseXML()

Description
Here is a little code that can transform an XML file into something that GScript can understand. The format is similar to that of ActionScript's XML Object.
XML.childNodes...
Forum: NPC Scripting 08-22-2006, 11:20 PM
Replies: 18
Views: 4,140
Posted By Tolnaftate2004
The serverside (x,y) of the baddy are different...

The serverside (x,y) of the baddy are different than the clientside (x,y). Make sure you're triggering at the serverside coordinates. If you're not modifying the (x,y) serverside, than you can store...
Forum: New Scripting Engine (GS2) 08-09-2006, 12:01 PM
Replies: 7
Views: 1,989
Posted By Tolnaftate2004
loadmovie( "path/file.swf" , bool errorlogging ?...

loadmovie( "path/file.swf" , bool errorlogging ? , float alpha );

Something like that.
Forum: NPC Scripting 08-07-2006, 10:23 PM
Replies: 15
Views: 5,314
Posted By Tolnaftate2004
It doesn't always have to be a quadrilateral,...

It doesn't always have to be a quadrilateral, though. A polygon can have 3+ sides.
Forum: NPC Scripting 08-07-2006, 01:07 AM
Replies: 15
Views: 5,314
Posted By Tolnaftate2004
Don't be silly. There's no area to fill, so,...

Don't be silly.

There's no area to fill, so, no poly (a line has no area).


temp.array = {player.x,player.y,mousex,mousey,mousex,mousey+1/16};
fixes the problem.
Forum: New Scripting Engine (GS2) 05-31-2006, 02:17 AM
Replies: 16
Views: 2,455
Posted By Tolnaftate2004
float(string) will make it a number.

float(string) will make it a number.
Forum: NPC Scripting 05-28-2006, 05:51 PM
Replies: 9
Views: 2,455
Posted By Tolnaftate2004
I can't be sure, but it seems to me that the...

I can't be sure, but it seems to me that the probem lies in these actions. I am supposing that these are to set the first number. In which case,
this.total-=temp.display
this.total*=temp.display...
Forum: NPC Scripting 04-22-2006, 08:10 PM
Replies: 4
Views: 2,470
Posted By Tolnaftate2004
getangle() returns the radian angle (between 0...

getangle() returns the radian angle (between 0 and 6.28318530...).

For an npc to face a player, use
dir = getdir( playerx - x , playery - y );
Forum: New Scripting Engine (GS2) 03-25-2006, 03:15 AM
Replies: 5
Views: 1,543
Posted By Tolnaftate2004
this.var = foobar();

this.var = foobar();
Forum: Old Scripting Engine (GS1) 02-17-2006, 04:56 AM
Replies: 6
Views: 1,822
Posted By Tolnaftate2004
if (actionserverside) { ...

if (actionserverside) {
if(strequals(#p(0),warpbook)) {
setlevel2 #p(0),strtofloat(#p(1)),strtofloat(#p(2));
}
}

Param 0 is "warpbook". You can't warp to level "warpbook" (it...
Forum: NPC Scripting 08-18-2005, 10:21 PM
Replies: 13
Views: 3,218
Posted By Tolnaftate2004
4. You are missing a closing bracket.

4. You are missing a closing bracket.
Forum: NPC Scripting 08-18-2005, 04:43 AM
Replies: 13
Views: 3,218
Posted By Tolnaftate2004
4. Your level has no file extension.

4. Your level has no file extension.
Forum: PlayerWorlds Main Forum 08-11-2005, 08:34 PM
Replies: 15
Views: 2,203
Posted By Tolnaftate2004
And the battle system is working, we're just...

And the battle system is working, we're just having problems with move()...
Forum: NPC Scripting 08-05-2005, 06:41 PM
Replies: 14
Views: 2,785
Posted By Tolnaftate2004
:D @ above You don't want toweapons with an...

:D @ above

You don't want toweapons with an NPC-Server.


if (actionserverside) {
if (strequals(#p(0),warp)){
setlevel2 ...;
}
}
Forum: NPC Scripting 08-05-2005, 06:30 AM
Replies: 12
Views: 2,828
Posted By Tolnaftate2004
For starters, the x and y need to be floats,...

For starters, the x and y need to be floats, which means use strtofloat() around the bolded parts.
Forum: NPC Scripting 08-04-2005, 08:48 PM
Replies: 6
Views: 2,334
Posted By Tolnaftate2004
1. KSI-GS...

1. KSI-GS (http://forums.graalonline.com/forums/showpost.php?p=989516&postcount=4) (Rule 2a and Rule 8).
2. You may want to check that they're adding / taking an integer value.
3. The timeout...
Forum: NPC Scripting 07-30-2005, 02:50 AM
Replies: 8
Views: 1,946
Posted By Tolnaftate2004
Arrow keys do not call keypressed.

Arrow keys do not call keypressed.
Showing results 426 to 450 of 499

 
Forum Jump

All times are GMT +2. The time now is 02:03 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.