Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-01-2001, 01:59 AM
manton manton is offline
Raise Your Fist
Join Date: Mar 2001
Location: California
Posts: 2,318
manton will become famous soon enough
Send a message via AIM to manton
Question Gani Help

I'm trying to make it something where if the gani hits the player,it will hurt them.But I have no clue how to do it.Can anyone help?
__________________
-Nastazio
Reply With Quote
  #2  
Old 06-01-2001, 05:19 AM
MoonAngel MoonAngel is offline
Banned
MoonAngel's Avatar
Join Date: Mar 2001
Location: QUÉBEC!
Posts: 1,443
MoonAngel is on a distinguished road
Send a message via ICQ to MoonAngel Send a message via AIM to MoonAngel
hmm, i don't know how to make a check for the npc's animation, #m is for the player's animation = \
Reply With Quote
  #3  
Old 06-01-2001, 11:11 PM
manton manton is offline
Raise Your Fist
Join Date: Mar 2001
Location: California
Posts: 2,318
manton will become famous soon enough
Send a message via AIM to manton
Please someone help!
__________________
-Nastazio
Reply With Quote
  #4  
Old 06-02-2001, 04:39 AM
LilbrojX LilbrojX is offline
why dont you marry it?
LilbrojX's Avatar
Join Date: Mar 2001
Location: hmm
Posts: 1,465
LilbrojX is on a distinguished road
Send a message via AIM to LilbrojX Send a message via Yahoo to LilbrojX
use #m
__________________

http://www.dictionary.com/search?q=arrogant
kai is an expert on all things arrogant
Reply With Quote
  #5  
Old 06-02-2001, 05:07 AM
manton manton is offline
Raise Your Fist
Join Date: Mar 2001
Location: California
Posts: 2,318
manton will become famous soon enough
Send a message via AIM to manton
Quote:
Originally posted by LilbrojX
use #m
That still doesn't explain how to detect if it hits the player. =/
__________________
-Nastazio
Reply With Quote
  #6  
Old 06-03-2001, 11:07 AM
LilbrojX LilbrojX is offline
why dont you marry it?
LilbrojX's Avatar
Join Date: Mar 2001
Location: hmm
Posts: 1,465
LilbrojX is on a distinguished road
Send a message via AIM to LilbrojX Send a message via Yahoo to LilbrojX
I get syntax errors, but use the #m detection flag tingy and &&playertouchsme...

OR you can use trigger action, wich works very good
__________________

http://www.dictionary.com/search?q=arrogant
kai is an expert on all things arrogant
Reply With Quote
  #7  
Old 06-06-2001, 01:52 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
You probably want something along the lines of hitobject x,y;

I dunno if that's in GANIs, or just in scripting...
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #8  
Old 06-06-2001, 05:11 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
That's just gani's...
And I think you can check for the current NPC's gani by using #m(-1), not sure though.
__________________

Reply With Quote
  #9  
Old 06-11-2001, 11:29 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
I might be wrong, but Im guessing you know where your going to be hitting, and im guessing that the gani will move, so just unless the gani is much larger, figure out how far it is you want to hit, from the x,y of the npc and do a hitobjects x+dist,y-dist.

I think thats what Tyhm was going for.

If I make no sense, your probably right =)
Reply With Quote
Reply


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:58 PM.


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