I am a programmer working with the free version of A8 I am making an action game where the enemy is a "close ranged" monster. I want the monster to wait around until it "sees" you, then it starts to move forward. Does anyone know what I can do for vision? I tried having it shoot out invisible balls that start its movement but I had too many problems with it. Thanks for the help, I really appreciate it. Rtsgamer706
try what again? can you please just give me a suggestion? I finished the workshops a year ago, they taught me nothing even remotely relating to this. I'm sorry for getting irritated, but it's a personal pet-peeve when I ask for help and get "do the tutorials again" as a suggestion. Rtsgamer706
Better use "c_scan" and when it found "you" make a trace from enemy to "you" entity is visible then start chasing. If you don't know how to do this youself, take a look at workshops first (AUM workshops as well).
if you just wanna enm see "player" only , you can just use c_trace combine some.. vec_XXX functions. it will let game run a bit faster than combine c_trace & c_scan
Thanks so much for the code, there's just one issue. In your c_trace there are a couple of variables that I don't have. What do I change them to? Thanks
you mean¡¡which? let me explain it. firts of all. let the enm scan the player. if can scan it. but at the moment enm doesn't excatly "see" the player(for example the player hide back a wall which in front of the enm). so,we use c_trace to test if there are some entities between the two guys