Graal Forums

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

Warcaptain 09-02-2001 05:56 AM

Idea
 
ok here is something that really needs to be added:

testarrow(x,y)

thanks

Merlin 09-02-2001 05:59 AM

test arrow?

Jerom 09-02-2001 06:03 AM

Quote:

Originally posted by Merlin
test arrow?
For when arrows shot by a bow are put onto the level and reach a certain x/y...

Warcaptain 09-02-2001 06:05 AM

can be used to make a much much easier reflectarrow

Jerom 09-02-2001 06:06 AM

Quote:

Originally posted by Warcaptain
can be used to make a much much easier reflectarrow
If arrows could go diagonal, then I could make a pretty 1337 arrow puzzel :D
Not to mension traps would be alot better.

kyle0654 09-02-2001 06:24 AM

Uh, I'd hate to tell you, but the chances of landing testarrow(x,y) on an arrow are slim to none. The x,y specified must be a nontransparent point on the object (arrow in this case). Arrows are too small for that. You should just use arrow indexes and stuff.

Warcaptain 09-02-2001 07:14 AM

but maybe you only want to block at a single place

Cloud_X 09-02-2001 07:31 AM

Kyle is right kthx bye

wetferret1 09-02-2001 08:32 AM

:megaeek: He is right!

fuzie 09-02-2001 10:23 AM

wasshot is fine wit me thank you

Warcaptain 09-02-2001 01:02 PM

wasshot wont test an arrow..
it has nothing to do with it..

Tyhm 09-02-2001 01:25 PM

I think the effect you seek can be mimiced by a for/next arrows[this.i] loop, or possibly wasshot and that hitpower variable...but I've never used it.

fuzie 09-03-2001 02:29 AM

Quote:

Originally Posted by Jerom :If arrows could go diagonal, then I could make a pretty 1337 arrow puzzel
cant b/c some users wouldnt be able to have that function b/c u need a scelleration card or sumfin i 4get

Warcaptain 09-03-2001 12:56 PM

but wouldnt things be simpler if test errow would exist!

entravial 09-03-2001 01:24 PM

Use a for loop...

And arrows[i].x/arrows[i].y...

Like, say... *scripts up something in five seconds*

if (playerenters){
toweapons Useless Thingy;
}
if (weaponfired){
for (i=0;i<arrowscount;i++){
if (arrows[i].x=1 && arrows[i].y=1){
reflectarrow i;
}
}
}

Or something... *shrugs*

Warcaptain 09-03-2001 01:41 PM

Quote:

Originally posted by entravial
Use a for loop...

And arrows[i].x/arrows[i].y...

Like, say... *scripts up something in five seconds*

if (playerenters){
toweapons Useless Thingy;
}
if (weaponfired){
for (i=0;i<arrowscount;i++){
if (arrows[i].x=1 && arrows[i].y=1){
reflectarrow i;
}
}
}

Or something... *shrugs*

That would reflect every arrow.

it would be better with testarrow to use an array

entravial 09-03-2001 01:47 PM

Actually, it would only reflect arrows whos x and y is equal to 1.

Note this line, please.

NPC Code:
if (arrows[i].x=1 && arrows[i].y=1){ 



That is:

if the arrows x is equal to one and the arrows y is equal to 1

entravial 09-04-2001 04:22 AM

Quote:

Kaimetsu speaks!
He walks, he talks, he hangs by his toes from a tree while scripting things that make all the newbies look at in Awe!

:megaeek: :megaeek: :megaeek: :megaeek: :megaeek:
It's KAIMETSU!!!
:megaeek: :megaeek: :megaeek: :megaeek: :megaeek:


Mwaha...

entravial 09-04-2001 04:32 AM

Happy Hour with Kaimetsu? Oh god...
*diez*

oscarjf1 09-04-2001 04:42 AM

umm
 
Quote:

Originally posted by entravial


He walks, he talks, he hangs by his toes from a tree while scripting things that make all the newbies look at in Awe!

:megaeek: :megaeek: :megaeek: :megaeek: :megaeek:
It's KAIMETSU!!!
:megaeek: :megaeek: :megaeek: :megaeek: :megaeek:


Mwaha...

Why is he regarded as one of the best scripters again? I missed that. What was it that he scripted that was so great?

entravial 09-04-2001 04:44 AM

Uhh... he's considered one of the best caus he ownz j00. XD

Seriously though, go try out his Drakkara race... or better yet, just try out any script he's made.

*sets loose a rabid monkey screaming "ownz j00!" and lets it run around*

oscarjf1 09-04-2001 06:50 AM

Re: Re: umm
 
Quote:

Originally posted by Kaimetsu


I've posted lots of stuff on these boards. If you're reaally interested, go back about 8 pages and you should find some stuff.

I will check it out...if its good great! I was never saying you weren't any good ;), i was just curious.


All times are GMT +2. The time now is 05:44 PM.

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