Breakable entity
Its me again! (stop it)
I was wondering how can I make a creatable entity (like in blockmaker) to be breakable? Do I have to hook player's movement and touch? And if yes, how do I do it more properly? :D Thanks! |
Re: Breakable entity
Set its class name to func_breakable ?
|
Re: Breakable entity
Make it func_breakable and execute Use() on it.
|
Re: Breakable entity
Quote:
|
Re: Breakable entity
If so, making it a func_breakable is enough. Once it's health is 0, it will break.
|
Re: Breakable entity
So how do I turn
PHP Code:
into func_breakable? I have no idea.. |
Re: Breakable entity
PHP Code:
|
Re: Breakable entity
Just setting the classname will do nothing. You have to create the entity as func_breakable.
PHP Code:
|
Re: Breakable entity
Ur right. But we can break it in the ent think forward
|
Re: Breakable entity
Quote:
|
| All times are GMT -4. The time now is 20:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.