domcho 20 Posted September 24, 2010 Hi. Can someone tell me how to make a unit on my side not too look me. You know he just stands look forward and I am to his right. From time to time he turns his head to look at me and I want to disable that. I tried with the disableAI autotarget but it doesn't work. Thanks!!! Share this post Link to post Share on other sites
rellikki 7 Posted September 24, 2010 Try disabling both "AUTOTARGET" and "TARGET" AI's with the disableAI command. But note that after this the AI won't be able to shoot anyone and there's no way to enable the AI back again. If that doesn't work, I don't think there's a way. Share this post Link to post Share on other sites
ProfTournesol 956 Posted September 24, 2010 Hi. Can someone tell me how to make a unit on my side not too look me. You know he just stands look forward and I am to his right. From time to time he turns his head to look at me and I want to disable that. I tried with the disableAI autotarget but it doesn't work. Thanks!!! No possible i'm afraid. No a big deal, is it ? Share this post Link to post Share on other sites
sanctuary 19 Posted September 24, 2010 There should be a way actually, in the config of whatever mod you are using look for : class Man:Land Scroll down until you see those lines minHeadTurnAI=-blablabla; and maxHeadTurnAI=blablabla; blablabla being a number different from mod to mod. change those to minHeadTurnAI=0; maxHeadTurnAI=0; And the AI should not be looking around annoyingly. Share this post Link to post Share on other sites
ProfTournesol 956 Posted September 24, 2010 Oh, yes i thought he was looking for an ingame / mission editor way. Share this post Link to post Share on other sites
domcho 20 Posted September 25, 2010 Try disabling both "AUTOTARGET" and "TARGET" AI's with the disableAI command. But note that after this the AI won't be able to shoot anyone and there's no way to enable the AI back again.If that doesn't work, I don't think there's a way. I don't need the soldier to shoot. I posted a video on youtube but it's just stupid when they turn their heads to look me it's kinda embarrassing. I though if I could like make an object and something and force the soldiers too look at it the whole time maybe that would work but I forgot the command :/ Thanks anyway Share this post Link to post Share on other sites
rellikki 7 Posted September 25, 2010 The command for that is doWatch. You could place a marker in-between the two soldiers, 20m in front of them and try assigning them to watch that marker. That might do the trick. Share this post Link to post Share on other sites
domcho 20 Posted September 25, 2010 The command for that is doWatch. You could place a marker in-between the two soldiers, 20m in front of them and try assigning them to watch that marker. That might do the trick. Do you know how can I disable AIs to go prone. I made a mission where soldiers execute prisoners but they do it in a stupid way. They either shoot the prisoners and the lie down or lie down and shoot. :confused: Share this post Link to post Share on other sites
SilverRanger 11 Posted September 26, 2010 Do you know how can I disable AIs to go prone. unitName setUnitPos "UP" Share this post Link to post Share on other sites
domcho 20 Posted September 26, 2010 unitName setUnitPos "UP" This makes the unit to stand up if it is lying. I want to disable the unit's ability to go prone.:j: Share this post Link to post Share on other sites
ProfTournesol 956 Posted September 26, 2010 This makes the unit to stand up if it is lying. I want to disable the unit's ability to go prone.:j: Same command. Share this post Link to post Share on other sites
domcho 20 Posted September 26, 2010 Same command. That means that if I place a soldier on my site and put in his init this setuintpos up and then an enemy soldier comes and I shoot him he wont lie down? OK here it is. I set the soldiers behaviour to combat and preview. He lies down. Then I type in his init this setunitpos up and again he lies down when he is in combat mode or if I use the script command dotarget dofire he again lies down. Am I missing something?:butbut: Share this post Link to post Share on other sites
ProfTournesol 956 Posted September 26, 2010 That means that if I place a soldier on my site and put in his init this setuintpos up and then an enemy soldier comes and I shoot him he wont lie down? OK here it is. I set the soldiers behaviour to combat and preview. He lies down. Then I type in his init this setunitpos up and again he lies down when he is in combat mode or if I use the script command dotarget dofire he again lies down. Am I missing something?:butbut: Maybe you're missing the quotes : this setunitpos [color="Red"]"[/color]UP[color="red"]"[/color] Share this post Link to post Share on other sites
domcho 20 Posted September 26, 2010 Maybe you're missing the quotes : this setunitpos [color="Red"]"[/color]UP[color="red"]"[/color] Yes sorry I would like to apologize for this nonsense :D Share this post Link to post Share on other sites
TFatseas 0 Posted October 2, 2010 Speaking of which, is there a command to make an AI soldier crouch? As in get on one knee. Setunitpos "UP" and "Down" are the only ones I can figure out. Share this post Link to post Share on other sites
Bielow 10 Posted October 2, 2010 Sometimes the good choice is search options. http://forums.bistudio.com/showthread.php?t=107963 Share this post Link to post Share on other sites