Why the hell do some bot values have to be datablock defined?
%wander = %obj.hWander;
%gridWander = %obj.hGridWander;
%search = %obj.hSearch;
%strafe = %obj.hStrafe;
%tickrate =
%obj.getDatablock().hTickRate; %obj.hShootTimes =
%obj.getDataBlock().hShootTimes; %spastic = %obj.hSpasticLook;
%idleAnim = %obj.hIdleAnimation;
%AFKScale = %obj.hAFKOmeter;
the shoot times one is a real pain in the ass because:
%obj.hShootTimes = %obj.getDataBlock().hShootTimes;
if(!%obj.hShootTimes)
%obj.hShootTimes = 4;
if it doesnt have one it just defaults to 4. I can't set it to anything custom because it does the check to make sure its in the datablock. its a pain when i'm trying to create dynamic bots but im forced back into creating new datablocks for them. also, can there be more variables like hCanAttack or hCanMove or something? I want to write my own attack functions but the bots are so focused on using the premade ones. Its annoying when things like this happen:
By the way, i can't stop the scientist from trying to use his scientific Print Gun and the construction worker from Hammering the bad guys, their melee is turned off, their shoot is turned off and they have avoid close range enabled, but they get up in the prisoner's face anyway