Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
Arma2 - Editing/Scripting General
(Moderators:
h-
,
i0n0s
) »
Small object uses?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Small object uses? (Read 2815 times)
0 Members and 1 Guest are viewing this topic.
stephen271276
Members
Small object uses?
«
on:
18 Sep 2009, 15:28:29 »
Hi the small objects in the editor ie Photos, dogtags etc... Is there a way to pick these up? Lets say in a mission where your mission is to retrieve them?
Logged
i0n0s
Moderator
Re: Small object uses?
«
Reply #1 on:
18 Sep 2009, 18:08:50 »
Create a weaponholder and add it to it.
Be aware that a player can only carry one of each item.
Logged
stephen271276
Members
Re: Small object uses?
«
Reply #2 on:
18 Sep 2009, 18:33:18 »
How do you add it to a crate where are the class names? Thanks in advance
Logged
i0n0s
Moderator
Re: Small object uses?
«
Reply #3 on:
18 Sep 2009, 21:49:36 »
Took a look at the
COMREF
?
Logged
stephen271276
Members
Re: Small object uses?
«
Reply #4 on:
18 Sep 2009, 22:12:44 »
I can get it to work if im adding to a unit but cant seem to place any of them in a crate
?? aaaaarrrgh
Logged
Blacknite
Members
Chiefs runs the navy!
Re: Small object uses?
«
Reply #5 on:
18 Sep 2009, 23:02:09 »
try this:
this addweaponcargo ["EvDogTags", 1]
Just put that in the init line of your ammo crate. And that should give you dogtags, note that the number "1" is the amount.
Logged
stephen271276
Members
Re: Small object uses?
«
Reply #6 on:
18 Sep 2009, 23:34:47 »
Wicked thanks man.... now without sounding like a right tit I want some sort of text or hint to appear on screen when the player picks them up??? any ideas?
Logged
Blacknite
Members
Chiefs runs the navy!
Re: Small object uses?
«
Reply #7 on:
19 Sep 2009, 02:07:28 »
well try the addaction command and script it.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
Arma2 - Editing/Scripting General
(Moderators:
h-
,
i0n0s
) »
Small object uses?
Top of page