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-02-2001, 05:56 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Idea

ok here is something that really needs to be added:

testarrow(x,y)

thanks
Reply With Quote
  #2  
Old 09-02-2001, 05:59 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
test arrow?
Reply With Quote
  #3  
Old 09-02-2001, 06:03 AM
Jerom Jerom is offline
Banned
Jerom's Avatar
Join Date: Mar 2001
Location: In a Trash Can
Posts: 3,708
Jerom is on a distinguished road
Send a message via AIM to Jerom
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...
Reply With Quote
  #4  
Old 09-02-2001, 06:05 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
can be used to make a much much easier reflectarrow
Reply With Quote
  #5  
Old 09-02-2001, 06:06 AM
Jerom Jerom is offline
Banned
Jerom's Avatar
Join Date: Mar 2001
Location: In a Trash Can
Posts: 3,708
Jerom is on a distinguished road
Send a message via AIM to Jerom
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
Not to mension traps would be alot better.
Reply With Quote
  #6  
Old 09-02-2001, 06:24 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
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.
Reply With Quote
  #7  
Old 09-02-2001, 07:14 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
but maybe you only want to block at a single place
Reply With Quote
  #8  
Old 09-02-2001, 07:31 AM
Cloud_X Cloud_X is offline
Cloud_X's Avatar
Join Date: Mar 2001
Posts: 2,921
Cloud_X will become famous soon enough
Kyle is right kthx bye
__________________
Temporary blocked
Stefan Knorr
Reply With Quote
  #9  
Old 09-02-2001, 08:32 AM
wetferret1 wetferret1 is offline
Script Cow - MOOO!
wetferret1's Avatar
Join Date: Aug 2001
Location: Oregon, USA
Posts: 1,285
wetferret1 is on a distinguished road
Send a message via AIM to wetferret1
He is right!
__________________
[img]http://s-o.clanpages.com/wet***getlal.png[/img]
Quote:
Originally posted by Loriel
I am not corrupt, and I will ban you if you don't believe that.
(-=Wetferret IceFire=-)
Reply With Quote
  #10  
Old 09-02-2001, 10:23 AM
fuzie fuzie is offline
Registered User
Join Date: Jul 2001
Location: +900
Posts: 303
fuzie is on a distinguished road
Send a message via AIM to fuzie Send a message via Yahoo to fuzie
wasshot is fine wit me thank you
__________________
This is my extra account. My other account name is "royce".


-Mr. Chik (Criminals)

Chik=French=Hip
Reply With Quote
  #11  
Old 09-02-2001, 01:02 PM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
wasshot wont test an arrow..
it has nothing to do with it..
Reply With Quote
  #12  
Old 09-02-2001, 01:25 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
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.
__________________
"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
  #13  
Old 09-03-2001, 02:29 AM
fuzie fuzie is offline
Registered User
Join Date: Jul 2001
Location: +900
Posts: 303
fuzie is on a distinguished road
Send a message via AIM to fuzie Send a message via Yahoo to fuzie
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
__________________
This is my extra account. My other account name is "royce".


-Mr. Chik (Criminals)

Chik=French=Hip
Reply With Quote
  #14  
Old 09-03-2001, 12:56 PM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
but wouldnt things be simpler if test errow would exist!
Reply With Quote
  #15  
Old 09-03-2001, 01:24 PM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to 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*
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
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:16 PM.


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