BAIT 2005

Miscellaneous Forums/Blitz Showcase/BAIT 2005

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Just noticed this thread and it looks kinda fun. As for the scanner thoughts... the script would allow two calls to the scanner. 1. setangle(min,max) would do what it says where 0 degrees is straight ahead.
DoScan will return a list of ALL enemies found within the specified angles. The details returned will be distance, damage etc. It will NOT return the angle to the enemy nor any details of speed.
It is then up to the AI to narrow down the scan angles to home in on the target.
I would prefer it to return all the enemies found rather that just the closest because otherwise you could end up with a situation where you have almost destroyed player1 enemy then player2 moves closer and you end up losing player1.
Anyways.. just thought Id throw that into the pot.