Create entity over player's head
I would like to detect if some player is shooting over another player's head.
I thought to create some invisible cube with specific dimensions and place it a few units over player's head. And detect when another player hit this cube with a gun. The problem is, I dont know how to create it. And how to make it "following" the player it's assigned to? Or maybe you guys have better idea? |
Re: Create entity over player's head
Any ideas?
|
Re: Create entity over player's head
@ref again
|
Re: Create entity over player's head
I guess creating a cube over the player's head might work but there is an issue, the cube has to be solid in order to be shootable, so if a player jumps over another player they will collide and be blocked by the cube and I guess this can only be solved by editing ReHLDS & ReGameDLL to ignore colliding with the entity but still keep it shootable.
|
Re: Create entity over player's head
So, maybe some other way?
|
| All times are GMT -4. The time now is 23:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.