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!
thanks again
simple pac man game
-
- Posts: 1395
- Joined: Tue Feb 24, 2009 4:39 pm
- Location: Italy
Re: simple pac man game
Meadow Fun!! - my first commercial game, made with FTEQW game engine
Re: simple pac man game
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.
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.
The night is young. How else can I annoy the world before sunsrise? Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
-
- Posts: 1395
- Joined: Tue Feb 24, 2009 4:39 pm
- Location: Italy
Re: simple pac man game
yeah you're right Baker. I'll do that. thanks
Meadow Fun!! - my first commercial game, made with FTEQW game engine