Graal Forums

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

ZeLpH_MyStiK 02-04-2004 02:26 AM

shootarrow
 
I was wondering is a command that's similar to shootarrow but more like:
shootarrow2 dir,x,y;
where (x,y) is the coordinate from which the arrow is shot?
(Stefan, enlighten us :D)

adam 02-04-2004 02:37 AM

He'll say use the shoot command

ZeLpH_MyStiK 02-04-2004 02:48 AM

o well, just wondering if there's such a thing.

Duwul 02-04-2004 03:02 AM

Actually, if calling it from a weapon, in the weapon script, you can put like

NPC Code:

x += .5;
y += .5;
shootarrow 2;



This will make the arrow shoot from different coordinates, I believe.

ZeLpH_MyStiK 02-05-2004 12:24 AM

Quote:

Originally posted by Duwul
Actually, if calling it from a weapon, in the weapon script, you can put like

NPC Code:

x += .5;
y += .5;
shootarrow 2;



This will make the arrow shoot from different coordinates, I believe.

Yep yep you're right, thanks, didn't think of that...=D

Duwul 02-05-2004 12:52 AM

Always glad to help. =)


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

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