Brekaeable ent.
This is just an example from tutorial, 1.how to do breakeble ent and have for example 200health???2.And you can create only 1 ent per round.3.And delete it on round end???.I need an example.
PHP Code:
|
Re: Brekaeable ent.
set him pev_health to 200.0 and you will get breakable, about one per round, you can use global variable for that
|
Re: Brekaeable ent.
Set_pev health for ent?
Quote:
Example please ;) |
Re: Brekaeable ent.
set_pev(Ent, pev_health, 200)... and your classname should be func_breakable
|
Re: Brekaeable ent.
Dr.G it doesnt effect afaik
|
Re: Brekaeable ent.
You should also set pev_takedamage
Quote:
|
Re: Brekaeable ent.
So I must do this?
set_pev(entity, pev_health, 200) set_pev(entity, pev_takedamage, 1.0) ?? Quote:
|
Re: Brekaeable ent.
set_pev(entity, pev_takedamage, DAMAGE_YES) would be better (for clarity).
You may have to spawn the entity, dunno. |
Re: Brekaeable ent.
Thx to all.
|
Re: Brekaeable ent.
And the last question ;) How to create a sprite effect of killed wall? :mrgreen:
PHP Code:
|
| All times are GMT -4. The time now is 16:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.