Graal Forums

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

Enigma_GP6 09-26-2001 07:32 AM

Variables
 
I really hate to post this for the sake of my reputation, but I was wondering if I could obligate someone to teach me usage of variables so that I may become a better scripter. Just looking at a script, I can undetstand it, but it is really difficult for me to make short scripts instead of a .5 lines long script that could use variaables. Please someone teach me like how to use them, and basically how to get tehm to work. I am not talking about built-in variables or message codes. I mean like, harder ones. Like [i] and stuff like that, I am kinda good in math, but I want to be one of the best 12 year old scripters in graal. Thank you for your time. I hope to get help soon. Thank You.

-Rebel95
P.S. I am hiring staff for my server. Please Contact me For Details. Please Contact Rebel001 for LAT jobs, he likes testing out stuff, that is basically how he learned how to script. Yet neither of us kknows variables yet, I know this.variables and other stuff, but I just need to know the harder stuff. :(

Xaviar 09-26-2001 07:45 AM

Re: Variables
 
Quote:

Originally posted by Enigma_GP6
I really hate to post this for the sake of my reputation, but I was wondering if I could obligate someone to teach me usage of variables so that I may become a better scripter. Just looking at a script, I can undetstand it, but it is really difficult for me to make short scripts instead of a .5 lines long script that could use variaables. Please someone teach me like how to use them, and basically how to get tehm to work. I am not talking about built-in variables or message codes. I mean like, harder ones. Like [i] and stuff like that, I am kinda good in math, but I want to be one of the best 12 year old scripters in graal. Thank you for your time. I hope to get help soon. Thank You.

-Rebel95

*blinks* Wasn't it you that was having that whole "I'm better than Kai" arguement?

Anyways, your gonna have to be a bit more specific (for me anyways, someone else might jus come on here and know exactly what'cha mean), cause the topic "variables" is pretty general...I think you might just be asking about arrays, but I'm not sure

Enigma_GP6 09-26-2001 08:01 AM

Yes, I had an argument with Kai, but it was not an "I'm Better then you!" it was more like "We are equal, good luck". I am not talking about arrays I am talking about, well, look at this example:

PHP Code:

  for(i=0;i!=4097;i++){
    
board[i]=632;
  } 

That was a copy&paste from Kai's Dream World Thing. That is what I am talking about...please help. And I can make you a sig if you really have no artistic talent, I am kinda good at graphics, I just dont like doing it.....


-Rebel95

LiquidIce00 09-26-2001 08:27 AM

thats a loop ..
and use this. variables for normal variables..
and board is just an index of the id of the tile on the x,y u specify
board[x+64*y] i believe
the tile id is x+16*y i think
(not sure)

Tyhm 09-26-2001 12:18 PM

Equal.
Uh-huh.
:rolleyes:

Enigma_GP6 09-27-2001 03:40 AM

LOL

I want someone to teach me how to use them not to start a riot over a script I used as an example.:rolleyes:

-Rebel95

Enigma_GP6 09-27-2001 06:28 AM

Quote:

Originally posted by Kaimetsu


You can't teach someone how to use variables. That's like teaching someone how to script.


That is a downright lie, I have learned a lot about arraysd from Xaviar thankyouverymuch, and I regret to say, that you are once again, a mutated broccoli monster.

-Rebel95

Falcor 09-27-2001 07:32 AM

Quote:

Originally posted by Enigma_GP6



That is a downright lie, I have learned a lot about arraysd from Xaviar thankyouverymuch, and I regret to say, that you are once again, a mutated broccoli monster.

-Rebel95

I aswell as everyone else has yet to se you top Kaimetsu's Metris game and/or dream world.

Enigma_GP6 09-27-2001 07:40 AM

Henceforth, I am working on my own server, ya know, untill such time I shall work on beating Kai. Thou Shalt Become demoralized. I will not work with people pushing me to get done. Good Day.

-Rebel95

nyghtGT 09-27-2001 07:45 AM

no offense
 
no offence (towards rebel) but from what i here you are a "ok scripter" and i have no idea of the scripting capabilities of Kaimetsu but either he is bluffing really good or he is just that fluent with Graal NPC Scripting .... (this is not a "diss" or hate remark" towards Kaimetsu) Just an inquiry to stop this endless arguement.

Enigma_GP6 09-28-2001 07:37 AM

I lova happy ending.(Unless it has a really good cliff-hanger)

-Rebel95


All times are GMT +2. The time now is 05:27 AM.

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