Graal Forums

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

mhermher 11-06-2001 11:13 PM

Farming Script
 
Hi, im making a farming script.
Its for faheria, i need help with it.
Yes i do.
:spam:.
SPAM.


ok heres the water can script:

NPC Code:


//NPC Made by GÄ$†£Ÿ
if (playertouchsme) {

toweapons Water Can;
canpower=1;
}
if (weaponfired) {freezeplayer 1.7;
setani watercanspread,watercan2.gif;
triggeraction playerx+1.5+vecx(playerdir)*2,
playery+2+vecy(playerdir)*2,farming,#v(canpower);

}


mhermher 11-06-2001 11:15 PM

Can anyone help to make the tree script?

THis is how i made, but it didnty work.

True.
Very True.
SPAM.
:spam:.

NPC Code:


//NPC Made by GÄ$†£Ÿ
if(playerenters)

setcharani appletree1,;
{
this.power=200;
}
if (actionfarming) {
canpower = strtofloat(#p(0));
this.power-=1;
}

if (this.power<=180){

setcharani appletree2,;
}

if (this.power<=160){

setcharani appletree3,;
}

if (this.power<=140){

setcharani appletree4,;
}

if (this.power<=120){

setani appletree5,;
}

if (this.power<=100){
setcharani appletree6,;
}

if (this.power<=80){
setcharani appletree7,;
}

if (this.power<=60){
setcharani appletree8,;
}

if (this.power<=40){
setcharani appletree9,;
}

if (this.power<=20){
setcharani appletree10,;
}

if (this.power=0){

}



TDO2000 11-07-2001 01:25 AM

just use a timeout around the power-ifs =)

mhermher 11-07-2001 02:37 AM

What u mean

jonny12 11-07-2001 11:08 AM

i do not get timeouts .


the script does not work on my puter.

Petey84 11-07-2001 05:34 PM

Shakaku:
Quote:

i do not get timeouts .
LMAO, do you even know how to use them??

jonny12 11-07-2001 08:57 PM

i never under stood
timeouts and slides

Brad_Elven 11-07-2001 10:12 PM

well your screwed buddy, anyways, I know your lying because Shad showed me the scripts for farming and they were all down and extremely good

mhermher 11-08-2001 07:22 PM

Quote:

Originally posted by Brad_Elven
well your screwed buddy, anyways, I know your lying because Shad showed me the scripts for farming and they were all down and extremely good
Im making a new one for Faheria, faherias scripts are gonna be replaced, SHad isnt onwer there, TB3 is and he told me to do farming

Faheria_LAT1 11-08-2001 07:38 PM

Quote:

Originally posted by mhermher

Im making a new one for Faheria, faherias scripts are gonna be replaced, SHad isnt onwer there, TB3 is and he told me to do farming

Tyriel's script is perfect, we dont need a new one and Shad is still owner.... I think...

mhermher 11-08-2001 10:02 PM

I know its perfect, i told TB3 that the one u already have will be better but he still wanted me to make one

ArmadeusWarlock 11-09-2001 06:00 AM

If you cant script farming, then u must not be very good.

Of course, this is also for a npc server.... why cant he script it himself? Ive seen some of the scripts he's done, their 1337, so why couldnt he scirpt it himself?

freddyfox 11-09-2001 06:03 AM

Quote:

Originally posted by jonny12
i never under stood
timeouts and slides

Dude... timeouts are practically THE most important part of scripts.

nyghtGT 11-09-2001 09:02 AM

Quote:

Originally posted by ArmadeusWarlock
If you cant script farming, then u must not be very good.

Of course, this is also for a npc server.... why cant he script it himself? Ive seen some of the scripts he's done, their 1337, so why couldnt he scirpt it himself?

*sarcasm*
we are sorry o great script king ....
*sarcasm*

maximus_asinus 11-09-2001 09:32 AM

Laying seeds.
 
I used your script and I made a farming thing for trees.It was very easy.Now I gotta make the seed thing so when you dig with a shovel you can plant your seeds in the whole.What kind of commands would you use?


All times are GMT +2. The time now is 06:55 PM.

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