Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
AI Rearming
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: AI Rearming (Read 520 times)
0 Members and 3 Guests 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.
Logged
macguba
Former Staff
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.
Logged
Plenty of
reviewed ArmA missions
for you to play
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
»
Logged
Check out my
Camouflage Collection
! New items added 31 July 2005.
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
AI Rearming
Top of page