Home   Help Search Login Register  

Author Topic: Small object uses?  (Read 2815 times)

0 Members and 1 Guest are viewing this topic.

Offline 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?

Offline 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.

Offline 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

Offline i0n0s

  • Moderator
  • *****
Re: Small object uses?
« Reply #3 on: 18 Sep 2009, 21:49:36 »
Took a look at the COMREF?

Offline 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

Offline 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.

Offline 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?

Offline 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.