Entity Touch
I want to make an entity is SOLID_NOT for which he played, but when you touch it, it becomes SOLID_NOT for everyone.
Code: PHP Code:
|
Re: Entity Touch
You can set pev_owner to a player id and it will act like SOLID_NOT for that player. All other players will abide by the normal solid flag.
|
Re: Entity Touch
I do not understand.
No where to put that code. A small example please. |
Re: Entity Touch
Let's start to describe what your plugin does.
|
Re: Entity Touch
Quote:
Sorry for my english, i use the translate google. |
Re: Entity Touch
Why dont you let it just solid trigger and only change appearance when touched ?
|
Re: Entity Touch
Quote:
|
Re: Entity Touch
You mean no everyone is able to pass the wall ?
|
Re: Entity Touch
Quote:
I told to him about the usage of pev_owner, that can be an answer for this question, but there are 2 problems. The first, it's that if we set ent's pev_owner "player1's id", the entity will be SOLID_NOT for player1, but if player2 touches the ent while player1 is into the ent (into his size) the ent's pev_owner will be "player2's id" and player1 will get stuck. And the second one, player's pev_owner can be ent's id, but the problem here is that we don't know which thing can make the modification of the pev_owner on the player. |
Re: Entity Touch
Quote:
|
| All times are GMT -4. The time now is 11:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.