Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Server (https://forums.graalonline.com/forums/forumdisplay.php?f=14)
-   -   ganis hurt (https://forums.graalonline.com/forums/showthread.php?t=16668)

Andor_GP1 11-12-2001 05:11 AM

ganis hurt
 
Is there anyway to make it so when a gani is used, and a playertouchs the person why they have the gani playing it will hurt them.(without hiding the player and replacing with an npccharacter)

IceFire_TK 11-12-2001 08:53 PM

Hey Pikaz! I am so used to Java and Javascript(using If-Then-Else-While clauses) So i dunno if I can help but maybe something luike this:
NPC Code:
if (playertouchother) {
}
while
{
if (strequals(#m,ganiname)) {
hurt 1;
}



I dunno man.. That doesn't look right but anyways thats how you'd do something in Java...I had 1 too many packages or peanuts..

-*Kyle08

Andor_GP1 11-16-2001 10:25 AM

o anyone was woderig how i did this, i siply used a triggeactin in the npc and put a if (action) in the syste npc =p

James 11-18-2001 12:29 AM

yes triggeraction works well


All times are GMT +2. The time now is 01:21 PM.

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