Blockland Forums > Modification Help

[CONTEST] AI Wars

Pages: << < (12/13) > >>

Coder:


--- Quote from: Demian on February 07, 2011, 11:47:07 AM ---Field of view. It is the cone shaped area that the bot can see in front of it.

--- End quote ---

is there a command to get an object in a players view, or am i going to have to make it?

lordician:


--- Quote from: Coder on February 07, 2011, 05:05:00 PM ---is there a command to get an object in a players view, or am i going to have to make it?

--- End quote ---

--- Quote from: Bauklotz on February 07, 2011, 07:38:13 AM ---Vector math. Loop through objects, and only actually react to them if their position is "visible" from the bot, aka that you do some magic with your rotation, the enemy's position, and the default FOV (~70-95)

--- End quote ---


Coder:


--- Quote from: lordician on February 07, 2011, 05:22:55 PM ---

--- End quote ---

sir yes sir

lordician:


--- Quote from: Coder on February 07, 2011, 05:33:15 PM ---sir yes sir

--- End quote ---
It wasn't an order. :P
I just showed you the answer.

curiosblockland6:

Bump.

Yet another moment when I wish I could script.

Pages: << < (12/13) > >>

Go to full version