Page 2 of 2

Re: simple pac man game

Posted: Thu Feb 23, 2012 9:22 am
by toneddu2000
Thanks frag.machine! I thought it was the right function! Nevermind
@Baker:
Thanks for the first and the second reference! :)
I already tried to study at fight.qc but it's really complex because it's melted down in the quake structure with think functions and company. I couldn't find the "core" of the functions where it says:"enemy is a player. go near to him, and everywhere he goes, chase him"
Can I simply define in the game
enemy = player?
I tried with enemy = classname==player but it's not correct

I'm total noob I know! :oops:
thanks again

Re: simple pac man game

Posted: Thu Feb 23, 2012 6:25 pm
by Baker
You might post specific QuakeC questions in the QuakeC section.

I am thinking that most here only read the sections that interest them. I know I read anything posted in the engine section and am a lot less likely to read everything in the other sections.

Likewise, if you have a QuakeC problem you cannot get past, I think the passive idea that the solution will seek you out is a bad way to go.

If you really want an answer to precise QuakeC question, post it in that section so the most people with the most knowledge read it.

Re: simple pac man game

Posted: Thu Feb 23, 2012 6:58 pm
by toneddu2000
yeah you're right Baker. I'll do that. thanks