View Full Version : Function Suggest Attack/Defense Style???
8th Nov 2001, 04:41 AM
function float SuggestAttackStyle()
function float SuggestDefenseStyle()
I seen this in my altered fatgun and wondered what it is.
8th Nov 2001, 09:14 AM
Tha bot asks what the weaponn thinks is the best way of using it, and the weapon suggests by returning a number...
I dunno what it means, but I bet you can look it up in the bot class or weaponclass or something.
(It could mean like 0.0=melee,1.0=longrange o something but I don't say it does...
8th Nov 2001, 09:25 AM
The UT_Eightball class explains some AI stuff pretty well. Basically, the functions return a number telling the bots how aggressive they should be (approach/back off) when using the weapon.
8th Nov 2001, 10:51 PM
It acts as a "modulation" to a bot's combat style. Bots attacking check suggestattackstyle() and defending, well you get the picture... :)
higher numbers mean bots charge more, lower ones mean bots retreat/stay at distance...
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.