Custom entities
I have in a map a trigger entity called "info_open". So I wanted to hook the touch like this:
PHP Code:
PHP Code:
|
Re: Custom entities
Quote:
|
Re: Custom entities
Quote:
|
Re: Custom entities
register_touch should work. So, I can guess only either IsUserAlive is wrong, or you don't touch your entity (meaning, touch not detected or size problem)
|
Re: Custom entities
Arkshine is right.
Anyway, try this PHP Code:
|
Re: Custom entities
i tried sometime with trigger entities, but seems engine won't detect trigger entities on toucn for example
PHP Code:
|
Re: Custom entities
Quote:
|
Re: Custom entities
How can the engine create a "info_open" entity ?
|
Re: Custom entities
Quote:
|
Re: Custom entities
Quote:
|
| All times are GMT -4. The time now is 19:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.