Is it possible to re-activate an AI unit that the user has switched to using Teamswitch, and then Teamswitched back again.
Can the unit the user occupied be made to move again as an AI unit ?
Is it possible to re-activate an AI unit that the user has switched to using Teamswitch, and then Teamswitched back again.
Can the unit the user occupied be made to move again as an AI unit ?
Last edited by solrac42; Apr 1 2012 at 17:17.
See the several posts by Trexian in this thread:
http://forums.bistudio.com/showthrea...itch-bug/page2
BR
Orcinus
Thanks Orcinus, but that code only works for ArmA 2 and this post is for ArmA 1, is there any other way to re-activate AI ?
I can't be more precise that this, but DomZ's High Command Extensions was using another solution to that issue, i don't know if his code still has that after including Trexian's one, maybe it is compatible with arma 1...
Spoiler:
Ah, sorry. I didn't know it was A2 only - I got given Arma X a couple of weeks ago but haven't installed any of the Arma 1 games yet.
Hmm - I have a reference somewhere to a post from several years before Trexian's, seemed somewhat more complicated, I'll have a search & if it looks possibly relating to Arma, I'll let you know.
BR
Orcinus
Later...
Knew I'd seen it somewhere. I found the link; it's the subject of an Arma scripting tutorial by Wolfrug, "ArmA / Script: How to make Team Switch work". Here you go:
http://www.ofpec.com/ed_depot/index....=393&game=ArmA
Do read the OFPEC forum thread as well:
http://www.ofpec.com/forum/index.php...5947#msg205947
BR
Orcinus
Last edited by Orcinus; Apr 3 2012 at 14:53.