Home   Help Search Login Register  

Author Topic: AI Rearming  (Read 522 times)

0 Members and 1 Guest are viewing this topic.

Ace Productions

  • Guest
AI Rearming
« on: 15 Jul 2004, 10:33:24 »
Hello,

How can I make an AI pick up a magazine from a crate? I found the "TAKEMAGAZINE" action, but if the crate contains 3 types of magazines, I don't know how to specify which one to pick.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:AI Rearming
« Reply #1 on: 15 Jul 2004, 12:23:16 »
I'm not convinced the action does anything other than make the loon play the animation ... maybe it does.   Anyway, you need to use addMagazine to give the loon the magazine you want.
Plenty of reviewed ArmA missions for you to play

Offline Wadmann

  • OFPEC Patron
  • ****
  • I'm the next evolutionary step after a llama!
Re:AI Rearming
« Reply #2 on: 15 Jul 2004, 19:30:06 »
Hello Ace!

Check this sticky topic and look for LCD's post. It has the action command, but it will be up to you to create the script to implement it. If you are successful in creating  a generic rearm script, please post it as I could use it too! ;)

                                                                    Wadmann

Edit: Sorry, I misread your post and thought that you wanted to pick up a weapon. I did not look further into the topic but your answer may be there none the less.
« Last Edit: 15 Jul 2004, 19:32:51 by Wadmann »
Check out my Camouflage Collection! New items added 31 July 2005.