Detecting player respawn & touch
Any way to detect player respawn, without hamsandwich?
What do you recomends me? Use hamsandwich for only one function or not use it? An another question.. Is there a way to register the touch of a entity (model) with a non-solid func_wall? Because i was trying to register the touch of the soccerjam's ball and the goalnet (previously seted with this "entity_set_int(endzone, EV_INT_solid, SOLID_NOT)"). But when the ball runs accross the goalnet nothing it happens :( Thanks |
Re: Detecting player respawn & touch
1) Use hamsandwich.
2) You could hook think and get the distance between the two ents. If it's very low you could consider that "touching". |
Re: Detecting player respawn & touch
1) Ok
2) Return a lot of errors like: ball is touching it but is stolen by some one.. |
Re: Detecting player respawn & touch
Quote:
|
Re: Detecting player respawn & touch
You could set the "func_wall" as SOLID_TRIGGER so it will register touch but not collide with it.
Quote:
You should check if any player has the ball in the touch function... not that hard. |
Re: Detecting player respawn & touch
I tried SOLID_TRIGGER but didn't works..
If I put SOLID_NOT, the players and the ball can walk accross it, but register_touch isn't activate. |
Re: Detecting player respawn & touch
Quote:
Quote:
|
| All times are GMT -4. The time now is 07:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.