Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Shoot and NPC question (https://forums.graalonline.com/forums/showthread.php?t=134266183)

Gunderak 04-06-2012 02:42 PM

Shoot and NPC question
 
Just two questions I have thought of.
Firstly, is it possible to make a projectile made from shoot(); track a player instead of just following a given angle, eg is it possible to change it's "trajectory" if you may.

Secondly, is it possible to detect NPC's in a level, not PutNpc2 ones but actual NPC's.

xXziroXx 04-06-2012 02:44 PM

I'm pretty sure you can't change the trajectory of a projectile after it's been fired.

You can detect NPC's in a level by looping through the npcs array.


All times are GMT +2. The time now is 11:49 AM.

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