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 08-02-2004, 08:45 PM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
Question actionprojectile

Ok sorry for my constant need of script help, but i cant figure this out...how can u use the x and y of where a projectile lands? like if it shot thenon serverside u use the actionprojectile||actionprojectile2 to then shoot s0omething else from that point: ie liquid from a thrown potion?
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
Reply With Quote
  #2  
Old 08-02-2004, 09:11 PM
XxDarkrazorxX XxDarkrazorxX is offline
Uber Master
XxDarkrazorxX's Avatar
Join Date: Jan 2004
Location: The Netherlands
Posts: 162
XxDarkrazorxX is on a distinguished road
Send a message via AIM to XxDarkrazorxX Send a message via MSN to XxDarkrazorxX
power i think is the verb for the strength its "shooted" with and ofcourse
(z)angles..
__________________
|\ ______
|......\.....\
|...|..|......\
/...|..|..|....\
\...|..|......./
_|....|.......\
\___/|__|__\
Reply With Quote
  #3  
Old 08-02-2004, 10:04 PM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
what i know how shoot works i just want to know where you wuld find the x and y of a landed projectile!
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
Reply With Quote
  #4  
Old 08-02-2004, 10:41 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
If you do
NPC Code:
if (actionprojectile)


in the control npc, #p(0) and #p(1) will be the landing x and y.
__________________
-Kjetil Valen
Reply With Quote
  #5  
Old 08-02-2004, 11:01 PM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
ok thanks ill try that
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
Reply With Quote
  #6  
Old 08-02-2004, 11:01 PM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
um does that mean #p(2) will be the first param u have set?
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
Reply With Quote
  #7  
Old 08-02-2004, 11:05 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
You'd say so.
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #8  
Old 08-03-2004, 02:45 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by GoZelda
You'd say so.
Please do not phrase posts here nonsensically.
Reply With Quote
  #9  
Old 08-03-2004, 10:44 AM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Quote:
Originally Posted by Lance
Please do not phrase posts here nonsensically.
Okay. Anyway, next time Captain Falcon could've tested if #p(2) was the added parameter... Will stop me from posting that sort of stuff, will stop him annoying people, double-posting and appear like a newbie scripter...
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #10  
Old 08-02-2004, 11:37 PM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
wtf youd say so? whats that mean?
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
Reply With Quote
  #11  
Old 08-03-2004, 12:08 AM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
YES it will.
__________________
-Kjetil Valen
Reply With Quote
  #12  
Old 08-03-2004, 02:27 AM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
Ok thank you i should have that ready soon
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
Reply With Quote
  #13  
Old 08-03-2004, 03:21 AM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
I have to agree with lance on that i has no idea what that meant XD
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
Reply With Quote
  #14  
Old 08-03-2004, 12:08 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
I agree 100% with Cyrin..
__________________
-Kjetil Valen
Reply With Quote
  #15  
Old 08-03-2004, 12:30 PM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
Let him ask for the help he needs, atleast he's getting somewhere and constantly asking rather than just stealing scripts and running off.
__________________
Reply With Quote
  #16  
Old 08-03-2004, 06:14 PM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Quote:
Originally Posted by Gerami
Let him ask for the help he needs, atleast he's getting somewhere and constantly asking rather than just stealing scripts and running off.
point being it's much faster to test yourself
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #17  
Old 08-05-2004, 01:34 AM
MysticalDragonP2P MysticalDragonP2P is offline
Endorian
Join Date: May 2002
Location: Lynn,Mass
Posts: 216
MysticalDragonP2P is on a distinguished road
Send a message via AIM to MysticalDragonP2P Send a message via MSN to MysticalDragonP2P
Quote:
Originally Posted by Gerami
Let him ask for the help he needs, atleast he's getting somewhere and constantly asking rather than just stealing scripts and running off.
::Agreed::


He just needs to slow his typing down a bit, so we can understand his questions more -_-.
__________________
MysticalDragon Manager of Endora
Reply With Quote
  #18  
Old 08-03-2004, 07:19 PM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
I did actually i put that up before thinking and forgot to delete lol


ADDED:

HEy i just realized something, i know how to work getangle, but then how would you get power and zangle for liek a bow u can target like in gk?
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!

Last edited by falco10291029; 08-03-2004 at 08:27 PM..
Reply With Quote
  #19  
Old 08-07-2004, 07:09 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Quote:
Originally Posted by falco10291029
I did actually i put that up before thinking and forgot to delete lol


ADDED:

HEy i just realized something, i know how to work getangle, but then how would you get power and zangle for liek a bow u can target like in gk?
Learn some physics
also: learn to use the search function of the forums -> http://forums.graal2001.com/forums/s...ght=projectile
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #20  
Old 08-07-2004, 06:04 AM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
yes well can u answer the question I just asked pleasE?
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
Reply With Quote
  #21  
Old 08-08-2004, 03:05 AM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
Um it doesnt explain there they just argue about velocity and crap ah well i can do some testing myself if i ever have an undying need for correct distance
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
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 05:40 AM.


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