Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > NPC Server
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 11-12-2001, 05:11 AM
Andor_GP1 Andor_GP1 is offline
Registered User
Join Date: Nov 2001
Posts: 35
Andor_GP1 is on a distinguished road
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)
__________________

~Pikaz
(formually used account Bravo_LAT-Admin)
~Banana Admin at Andor XD
  #2  
Old 11-12-2001, 08:53 PM
IceFire_TK IceFire_TK is offline
Banned
Join Date: Nov 2001
Location: O' Canada
Posts: 375
IceFire_TK is on a distinguished road
Send a message via AIM to IceFire_TK Send a message via Yahoo to IceFire_TK
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
  #3  
Old 11-16-2001, 10:25 AM
Andor_GP1 Andor_GP1 is offline
Registered User
Join Date: Nov 2001
Posts: 35
Andor_GP1 is on a distinguished road
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
__________________

~Pikaz
(formually used account Bravo_LAT-Admin)
~Banana Admin at Andor XD
  #4  
Old 11-18-2001, 12:29 AM
James James is offline
LOCAL DOUCHEBAG
James's Avatar
Join Date: Aug 2001
Location: Oregon
Posts: 3,132
James is a splendid one to beholdJames is a splendid one to beholdJames is a splendid one to beholdJames is a splendid one to behold
Send a message via AIM to James
yes triggeraction works well
__________________

JAMES BAY PACKERS
2011 FANTASY FOOTBALL CHAMPIONS
2012 FANTASY FOOTBALL CHAMPIONS


“If I can slow it down in my mind... things will be fine."

-Aaron Rodgers
2011's NFL Most Valuable Player




 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:56 PM.


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