AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to set entity damage animation (https://forums.alliedmods.net/showthread.php?t=98809)

DA 07-29-2009 14:09

How to set entity damage animation
 
Hello guys,

from Suzuka's tutorial I know now how to create an entity and set up some things.

I also know how to detect that this entity get attacked:
Code:
RegisterHam ( Ham_TakeDamage, "info_target", "EVENTS_EntDamage" );

My only problem is now that there is no blood/sound and
hit animation.
I've tested a lot but found no solution...?
Maybe someone of you have an idea?

meTaLiCroSS 07-29-2009 17:37

Re: How to set entity damage animation
 
Quote:

Originally Posted by DA (Post 885004)
Hello guys,

from Suzuka's tutorial I know now how to create an entity and set up some things.

I also know how to detect that this entity get attacked:
Code:
RegisterHam ( Ham_TakeDamage, "info_target", "EVENTS_EntDamage" );


My only problem is now that there is no blood/sound and
hit animation.
I've tested a lot but found no solution...?
Maybe someone of you have an idea?

What entity is?

DA 07-29-2009 18:06

Re: How to set entity damage animation
 
Quote:

Originally Posted by meTaLiCroSS (Post 885200)
What entity is?

I've created the entity as "info_target".
But the model is a VIP model.


All times are GMT -4. The time now is 18:26.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.