![]() |
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?
|
hmm, i don't know how to make a check for the npc's animation, #m is for the player's animation = \
|
Please someone help!
|
use #m
|
Quote:
|
I get syntax errors, but use the #m detection flag tingy and &&playertouchsme...
OR you can use trigger action, wich works very good |
You probably want something along the lines of hitobject x,y;
I dunno if that's in GANIs, or just in scripting... |
That's just gani's...
And I think you can check for the current NPC's gani by using #m(-1), not sure though. |
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 =) |
| All times are GMT +2. The time now is 03:24 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.