Bots and Weapons Question
Posted: Tue Apr 13, 2004 2:47 am
Ok, hopefully this is going to be relatively painless. There is my problem. I spawned a Axis AI into a map. He doesn't do much but then again he isn't meant to. Really what I want him to do is stay relatively in the same point and shoot when people get close. I have no trouble getting them to use a rifle, a pistol, or a shotgun, its any other weapon that its a problem. I can get them to spawn with a MP40 or whatever but then they just stand there. I know this isn't the best way to do it but this is the script or the Axis AI.
spawn human/german_panzer_tankcommander "targetname" "bot1"
$bot1.origin = ( -4922 -7296 4128 )
$bot1.angle = (0 90 0)
$bot1.gun = mp40
The ai.scr has been executed and still nothing happens. If I don't put in a wepaon then he spawns with a piston or rifle and fires. So really my question is, is there any easy way to get him to use the mp40 he is spawned with. Thanks for any help you can give
spawn human/german_panzer_tankcommander "targetname" "bot1"
$bot1.origin = ( -4922 -7296 4128 )
$bot1.angle = (0 90 0)
$bot1.gun = mp40
The ai.scr has been executed and still nothing happens. If I don't put in a wepaon then he spawns with a piston or rifle and fires. So really my question is, is there any easy way to get him to use the mp40 he is spawned with. Thanks for any help you can give