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=134262596)

skillmaster19 03-28-2011 08:00 PM

shootarrow();???
 
how do I use it?

fowlplay4 03-28-2011 08:17 PM

There's really nothing to it...

PHP Code:

//#CLIENTSIDE
function onCreated() {
  
shootarrow(direction);
} 


skillmaster19 03-28-2011 08:19 PM

Quote:

Originally Posted by fowlplay4 (Post 1639658)
There's really nothing to it...

PHP Code:

//#CLIENTSIDE
function onCreated() {
  
shootarrow(direction);
} 


I knowthat, but is there a way to set the x and y of where it starts?

fowlplay4 03-28-2011 08:43 PM

Quote:

Originally Posted by skillmaster19 (Post 1639661)
I knowthat, but is there a way to set the x and y of where it starts?

No, it just shoots from the origin of the object (Player or NPC) that calls it.

You'll have to use the shoot() to do anything custom like that.


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

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