Posted By: zSteam_
c_trace - 01/24/07 13:16
hello
The engine need the command "ingnore_player" in "c_trace" to ignore the player when i shoot
e.g.:
c_trace(camera.x, trace_coords.x, ignore_me + ignore_passable + activate_shoot + ignore_player);
sry for my bad english ^^
why?, what is the specific purpose for this command?
Posted By: Puppeteer
Re: c_trace - 01/24/07 13:26
you could work with ignore_you too
you = player
Posted By: zSteam_
Re: c_trace - 01/24/07 13:27
because i hit the player when i shoot with my gun (i use camera.x)... the gun is a extra model and i can't use ignore_me (because the player model doesn't shoot)
Posted By: Puppeteer
Re: c_trace - 01/24/07 13:31
But ignore you would work, doesn't it?
(Warum eigentlich noch english)
Posted By: zSteam_
Re: c_trace - 01/24/07 13:43
hähä lol frag ich mich auch gerade als ich dein avatar bemerkte ^^ naja wäre doch ne gute idee oder, wenn man ignore_player verwenden könnte. zumindest hätte man da noch mehr auswahlmöglichkeit
Posted By: Puppeteer
Re: c_trace - 01/24/07 13:45
Posted By: zSteam_
Re: c_trace - 01/24/07 13:50
^^ naja hast ja recht geht auch anders... aber trotzdem fänd ich's gut ^^
mfg zSteam
you need to use the push variable and ignore_push flag. Make the higher push value for the gun.
Posted By: Doug
Re: c_trace - 01/25/07 00:19
Don't mess with push here, derOmega answer is best:
you = player;
c_trace(camera.x, trace_coords.x, ignore_me + ignore_passable + activate_shoot + ignore_you);