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

GoZelda 09-06-2003 10:27 PM

actionprojectile
 
How can i check if an objects hits a player?

Ningnong 09-06-2003 11:03 PM

use

NPC Code:

if (actionprojectile)



in an npc, which the player has.

i.e. in a system npc.

Neoreno 09-06-2003 11:08 PM

actionprojectile recognizes the shoot command, obviously, and parameters that it passes.

GoZelda 09-07-2003 12:00 PM

Quote:

Originally posted by Ningnong
use

NPC Code:

if (actionprojectile)



in an npc, which the player has.

i.e. in a system npc.

I tried that. But this also triggers when something hits a wall or stuff.

TribulationStaff 09-07-2003 06:26 PM

but it shouldn't trigger the player when it hits a wall.

Riot-Starter 09-07-2003 07:58 PM

actionprojectile - calls when projectile hits the player

actionprojectile2 - calls when projectile hits anything

GoZelda 09-08-2003 01:36 PM

Mh well i guess if you guys say so, it is so ^^
I probably used actionsprojectile or something.


All times are GMT +2. The time now is 08:37 PM.

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