Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Gani Construction (https://forums.graalonline.com/forums/forumdisplay.php?f=50)
-   -   Quick Question (https://forums.graalonline.com/forums/showthread.php?t=134264522)

PrinceOfKenshin 09-10-2011 06:30 AM

Quick Question
 
So i am working on a system right now where i'm making all the basic ganis: walk, idle, etc and i am adding blood to the player as they get hurt. I plan on having several weapons, but honestly i don't want to have to sit there and add the blood effect to every single weapon gani.

Is there a way i could write a code that would add the sprites to the gani for me? Or am i going to have to do it by hand?

smirt362 09-10-2011 06:43 AM

When you swing the weapon the blood effect would show up, so instead what you should do is have a hurt gani with blood and then trigger that when they get hit.

If that makes sense.

PrinceOfKenshin 09-10-2011 06:48 AM

No not like that. Every single gani will have a blood effect at all times once their hp got below a certain point. So like there is a hurt-walk, hurt-idle, etc. Rather than having to add the actually blood sprites to every gani i wasn't sure if there was a easier way of doing this effect

smirt362 09-10-2011 11:28 AM

You can attach a gani to a player can't you? Maybe just make the blood effect in it's own gani and do that.

PrinceOfKenshin 09-11-2011 01:49 AM

I will try that out. thanks

Tricxta 09-11-2011 08:25 AM

Use showani :) It might get a bit hectic lag wise with several people bleeding though :S

callimuc 09-11-2011 11:02 PM

Quote:

Originally Posted by Tricxta (Post 1667799)
Use showani :) It might get a bit hectic lag wise with several people bleeding though :S

I would still prefer attaching it the the players attribute

Tricxta 09-11-2011 11:14 PM

fair call lol


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

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