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
) »
Adding Mines to a Unit
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Adding Mines to a Unit (Read 556 times)
0 Members and 1 Guest are viewing this topic.
Chris330
Guest
Adding Mines to a Unit
«
on:
10 Sep 2004, 23:43:58 »
Anyone know how to do this? I've tried using the addmagazine "mine" commmand but it just adds a damn satchel charge to the guy!! Anyone know how this is done, or even if it can be done?
Logged
macguba
Former Staff
Re:Adding Mines to a Unit
«
Reply #1 on:
11 Sep 2004, 00:24:19 »
removeAllWeapons this; this addMagazine "mine"
works for me. You've got a typo somewhere or you're having a brainstorm and doing something daft.
Logged
Plenty of
reviewed ArmA missions
for you to play
THobson
OFPEC Patron
Former Staff
Re:Adding Mines to a Unit
«
Reply #2 on:
11 Sep 2004, 13:48:24 »
It is not necessary to remove everything. For a Black Op where you want to replace the default satchel charges with mines put the following in the units Init field:
this removemagazines"pipebomb";this addmagazine"Mine";this addmagazine"Mine";this addmagazine"Mine"
Logged
Chris330
Guest
Re:Adding Mines to a Unit
«
Reply #3 on:
11 Sep 2004, 17:48:11 »
I was being a knob. It works fine oops
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
) »
Adding Mines to a Unit
Top of page