Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-26-2001, 07:32 AM
Enigma_GP6 Enigma_GP6 is offline
Banned
Join Date: Jul 2001
Location: Who?
Posts: 261
Enigma_GP6 is on a distinguished road
Send a message via ICQ to Enigma_GP6 Send a message via AIM to Enigma_GP6
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.
Reply With Quote
  #2  
Old 09-26-2001, 07:45 AM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
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
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote
  #3  
Old 09-26-2001, 08:01 AM
Enigma_GP6 Enigma_GP6 is offline
Banned
Join Date: Jul 2001
Location: Who?
Posts: 261
Enigma_GP6 is on a distinguished road
Send a message via ICQ to Enigma_GP6 Send a message via AIM to Enigma_GP6
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
Reply With Quote
  #4  
Old 09-26-2001, 08:27 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
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)
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #5  
Old 09-26-2001, 12:18 PM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Equal.
Uh-huh.
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #6  
Old 09-27-2001, 03:40 AM
Enigma_GP6 Enigma_GP6 is offline
Banned
Join Date: Jul 2001
Location: Who?
Posts: 261
Enigma_GP6 is on a distinguished road
Send a message via ICQ to Enigma_GP6 Send a message via AIM to Enigma_GP6
LOL

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

-Rebel95
Reply With Quote
  #7  
Old 09-27-2001, 06:28 AM
Enigma_GP6 Enigma_GP6 is offline
Banned
Join Date: Jul 2001
Location: Who?
Posts: 261
Enigma_GP6 is on a distinguished road
Send a message via ICQ to Enigma_GP6 Send a message via AIM to Enigma_GP6
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
Reply With Quote
  #8  
Old 09-27-2001, 07:32 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
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.
__________________

subliminal message: 1+1=3
Reply With Quote
  #9  
Old 09-27-2001, 07:40 AM
Enigma_GP6 Enigma_GP6 is offline
Banned
Join Date: Jul 2001
Location: Who?
Posts: 261
Enigma_GP6 is on a distinguished road
Send a message via ICQ to Enigma_GP6 Send a message via AIM to Enigma_GP6
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
Reply With Quote
  #10  
Old 09-27-2001, 07:45 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
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.
Reply With Quote
  #11  
Old 09-28-2001, 07:37 AM
Enigma_GP6 Enigma_GP6 is offline
Banned
Join Date: Jul 2001
Location: Who?
Posts: 261
Enigma_GP6 is on a distinguished road
Send a message via ICQ to Enigma_GP6 Send a message via AIM to Enigma_GP6
I lova happy ending.(Unless it has a really good cliff-hanger)

-Rebel95
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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