Quote:
Originally Posted by Xandaros
I don't understand this page you sent me... Sorry^^
I don't understand the most documentations...
however
As far as i can see, this only set's the position of the entity "ent"...
How do I get the entity, the command executing player(or spectator), is looking at?
This way I can store it in "ent"...
I think I've understood the Engine way...
Long text... my question for short:
How to store the entity, you are looking at, in a variable?
Xan
|
I dont know how you can't understand the fakemeta way.
Code:
//look at the pev_* constants in the link i gave you
set_pev(index, pev_*, ...) //set
pev(index, pev_*, ...) //get
Engine EV_* works the same way.. :)
I suggest you to scroll all the functions on the both links.