Welcome, Guest Wednesday 16th April 2014, 19:56:33
   Home   Help Search Login Register  

OFPEC Forum

Author Topic: Small object uses?  (Read 287 times)
0 Members and 1 Guest are viewing this topic.
stephen271276
*
Offline Offline


« on: 18 Sep 2009, 14: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
*****
Offline Offline



« Reply #1 on: 18 Sep 2009, 17:08:50 »

Create a weaponholder and add it to it.
Be aware that a player can only carry one of each item.
Logged
stephen271276
*
Offline Offline


« Reply #2 on: 18 Sep 2009, 17:33:18 »

How do you add it to a crate where are the class names? Thanks in advance
Logged
i0n0s
Moderator
*****
Offline Offline



« Reply #3 on: 18 Sep 2009, 20:49:36 »

Took a look at the COMREF?
Logged
stephen271276
*
Offline Offline


« Reply #4 on: 18 Sep 2009, 21: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 Huh??? aaaaarrrgh
Logged
Blacknite
*
Offline Offline

Chiefs runs the navy!


« Reply #5 on: 18 Sep 2009, 22: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
*
Offline Offline


« Reply #6 on: 18 Sep 2009, 22: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
*
Offline Offline

Chiefs runs the navy!


« Reply #7 on: 19 Sep 2009, 01:07:28 »

well try the addaction command and script it.
Logged
Pages: [1]   Go Up
  Send this topicPrint  
 
Jump to: