Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Tutorial (https://forums.graalonline.com/forums/showthread.php?t=11045)

CyanideSR71 09-03-2001 05:53 AM

Tutorial
 
1 Attachment(s)
I made a little tutorial for one use of the pythagorian in Graal... How do you like it? Post a few pointers as well...

CyanideSR71 09-03-2001 06:01 AM

By the way, just set it to 'Open from current location' to see it automatically and not have to save it somewhere.

CyanideSR71 09-03-2001 06:27 AM

Ummm... Please tell why you think so....

CyanideSR71 09-03-2001 07:25 PM

Noone's voting or posting =(

Merlin 09-03-2001 10:27 PM

to complex ;\

CyanideSR71 09-04-2001 10:07 AM

Well... I'm trying to help out people who are ready to go into the intermediate levels of scripting, Kai, so I need to make it a little simpler for people who are less experienced than you to understand... This is why x*x was used (less confusing), and such an easy topic was picked... Although, aparently I might need to make it a little simpler, according to Merlin's post (if he was not being sarcastic).
According to the polls... I should die (I love how the public supports me! YAY!)... Other than Kai, is there anyone who can explain why they voted this way?

CyanideSR71 09-04-2001 10:10 AM

No abs... Hey! You're right Kai! Wait... Kai's always right... Damn it, you suck... Well no... I'm just jealous... And rambling for no reason...

Shard_IceFire 09-04-2001 11:03 AM

I thought the tutorial was fine...=D perfect for me because those are the scripting things i'm trying to learn...It was a bit confusing but I think overall it was pretty good =)

ownerofbabylon 09-04-2001 11:19 AM

its confusing and i dont see where it could help but thanks for the help anyways

CyanideSR71 09-04-2001 11:37 AM

Confusing? Hmmm... Damn, I tried so hard for it to not be... It's used for baddies and stuff... Even a hitplayer script...

ownerofbabylon 09-04-2001 11:40 AM

it might just be me. I am trying to learn how to script and im having trouble with make a gif appear in front of the player. :( If that makes u feel any better

CyanideSR71 09-04-2001 05:38 PM

What do you mean by a gif, showimg?

Shard_IceFire 09-05-2001 06:43 AM

Yes, that's what he means =D lol i tried to help him with that before but he didn't seem to get it...

CyanideSR71 09-05-2001 08:50 AM

Hmmm... I see why it's confusing to him...

NeoNPL 09-07-2001 12:01 AM

Quote:

The Pythagorian theorium tells the legnth of the third side of the
triangle when given the two other two sides. The theorium states that
that adding the squares of the two known sides, you will get the square
of the third side, which may be taken the square root from to tell the
correct legnth of it.

Equation (Uses a*a because there are no superscripts in notepad):
(c*c)=(a*a)+(b*b)


Diagram (not drawn in correct proportions):
/|
side C=???-->/ |
/ | <--side B=4
/___|
side^A=5
(c*c)=(a*a)+(b*b)
(c*c)=(5*5)+(4*4)
(c*c)=25+16
(c*c)=41
The square-root of 41 is -about- 6.4, which means:
side C=6.4

*Confused*

LiquidIce00 09-07-2001 02:18 AM

you dont need to do all this to find the distance..
your variable in the beggining already gets the distance.. and if you want to check to see which quadrant the player is in (for baddies .. like when they are searching) then you just do a few if statements..

CyanideSR71 09-07-2001 03:04 AM

It's for other things... It's even used in the NPC baddy in Graal...


All times are GMT +2. The time now is 08:42 PM.

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