Jump to content

Photo
- - - - -

Re activating AI


  • Please log in to reply
4 replies to this topic
Thread Starter
solrac42
solrac42

    Lance Corporal

  • Members
  • 50 posts

#1

Posted 01 April 2012 - 17:07

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 ?

Edited by solrac42, 01 April 2012 - 17:17.


Orcinus
Orcinus

    Sergeant Major

  • Members
  • 1571 posts

#2

Posted 02 April 2012 - 08:15

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 ?


See the several posts by Trexian in this thread:

http://forums.bistud...witch-bug/page2

BR

Orcinus

Thread Starter
solrac42
solrac42

    Lance Corporal

  • Members
  • 50 posts

#3

Posted 02 April 2012 - 16:28

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 ?

gammadust
gammadust

    Master Gunnery Sergeant

  • Members
  • 1056 posts

#4

Posted 02 April 2012 - 17:35

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...

Orcinus
Orcinus

    Sergeant Major

  • Members
  • 1571 posts

#5

Posted 02 April 2012 - 20:45

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 ?


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...d=393&game=ArmA

Do read the OFPEC forum thread as well:

http://www.ofpec.com...05947#msg205947

BR

Orcinus

Edited by Orcinus, 03 April 2012 - 14:53.