QuestionJust an idea.

Posts 16–19 of 19 · Page 2 of 2
Quote Originally Posted by zZzeta/S View Post
You could copy the method the detector uses.

You storing the player's position vector
you do the same for the enemy's
Then you can calculate the deltA between them. So for e.x

if(fpDelta == 15)
PlaySound(...);
Would be cool as long as PlaySound works for you
It is just by calculating the vectors of your player position and the enemy player position .. and make the certain distance between them , If he been near to you .. play sound or do the stuff you want.
Quote Originally Posted by zZzeta/S View Post
You could copy the method the detector uses.

You storing the player's position vector
you do the same for the enemy's
Then you can calculate the deltA between them. So for e.x

if(fpDelta == 15)
PlaySound(...);
you could just store the player's position and call the function ''x'' depending on how close are/is the player

except that, not worth at all, would be more annoying that anything else
Quote Originally Posted by Flengo View Post
Quote Originally Posted by Flengo View Post
Originally Posted by zZzeta/S


^^ Wrote the first thing i could remember. Partyed to hard last night^^
Still drunk from the party?


Still drunk from the party?

Partied* not partyed Mr. Editor
Well if you REALLY wanna get technical, he also misspelled 'too.' LOL, I'm a stickler for grammar.
Posts 16–19 of 19 · Page 2 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us