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 units getting armed!
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: AI units getting armed! (Read 614 times)
0 Members and 1 Guest are viewing this topic.
Ace Productions
Guest
AI units getting armed!
«
on:
13 Sep 2003, 03:32:30 »
How can I make an AI unit via a script to take a weapon from a car? I've checked the ACTION command but I couldn't find a way.
Logged
toadlife
OFPEC Old Skool
Former Staff
Official OFP Editing Center Toad
Re:AI units getting armed!
«
Reply #1 on:
13 Sep 2003, 04:16:23 »
Try these - This works on bodies (taking weapons from bodies), but never tried in on vehicles or ammo crates.
_unit action["take weapon",mycar,0,0,"M16"]
_unit action["take magazine",mycar,0,0,"M16"]
Logged
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer."
--
Cancer Omega
.
Ace Productions
Guest
Re:AI units getting armed!
«
Reply #2 on:
13 Sep 2003, 11:09:50 »
Toadlife thanks a lot mate!!! It works perfectly! ;D
Logged
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 units getting armed!
Top of page