Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   New Scripting Engine (GS2) (https://forums.graalonline.com/forums/forumdisplay.php?f=153)
-   -   npc HELP please (https://forums.graalonline.com/forums/showthread.php?t=134260134)

greggiles 08-09-2010 07:59 PM

npc HELP please
 
when you make a npc, you can have a onPlayertouchsme() and then all the actions you want to happen. Is there a way you can have so when another npc touchs it? im makeing a damage block and i want it so when my baddie touchs it, so and so will happen.

please help

cbk1994 08-09-2010 08:18 PM

Have the other NPC trigger the NPC when it touches it.

greggiles 08-09-2010 08:38 PM

hm...is there any other way to do it?
and i need to find a way to detect the NPC touched the other NPC.
thats my problem

fowlplay4 08-09-2010 09:48 PM

Check to see if your baddy is in the collision box of the damage block when it's finished moving.


All times are GMT +2. The time now is 01:14 AM.

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