Graal Forums

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

falco10291029 08-02-2004 08:45 PM

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?

XxDarkrazorxX 08-02-2004 09:11 PM

power i think is the verb for the strength its "shooted" with and ofcourse
(z)angles..

falco10291029 08-02-2004 10:04 PM

what i know how shoot works i just want to know where you wuld find the x and y of a landed projectile!

VeX_RaT_Boy 08-02-2004 10:41 PM

If you do
NPC Code:
if (actionprojectile)


in the control npc, #p(0) and #p(1) will be the landing x and y.

falco10291029 08-02-2004 11:01 PM

ok thanks ill try that

falco10291029 08-02-2004 11:01 PM

um does that mean #p(2) will be the first param u have set?

GoZelda 08-02-2004 11:05 PM

You'd say so.

falco10291029 08-02-2004 11:37 PM

wtf youd say so? whats that mean?

VeX_RaT_Boy 08-03-2004 12:08 AM

YES it will.

falco10291029 08-03-2004 02:27 AM

Ok thank you i should have that ready soon

Lance 08-03-2004 02:45 AM

Quote:

Originally Posted by GoZelda
You'd say so.

Please do not phrase posts here nonsensically.

falco10291029 08-03-2004 03:21 AM

I have to agree with lance on that i has no idea what that meant XD

GoZelda 08-03-2004 10:44 AM

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...

VeX_RaT_Boy 08-03-2004 12:08 PM

I agree 100% with Cyrin..

Crono 08-03-2004 12:30 PM

Let him ask for the help he needs, atleast he's getting somewhere and constantly asking rather than just stealing scripts and running off.

Dach 08-03-2004 06:14 PM

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

falco10291029 08-03-2004 07:19 PM

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?

MysticalDragonP2P 08-05-2004 01:34 AM

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 -_-.

falco10291029 08-07-2004 06:04 AM

yes well can u answer the question I just asked pleasE?

Dach 08-07-2004 07:09 AM

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

falco10291029 08-08-2004 03:05 AM

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


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

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