Results 1 to 3 of 3

Thread: Pickable objects. Is it possible? (i couldn't find anything useful)

Hybrid View

  1. #1

    Pickable objects. Is it possible? (i couldn't find anything useful)

    Hey guys is it possible to put an object in the editor and make it pickable?

  2. #2
    There was an addon with books, folders, money, drugs, and some other pickable objects. Can't remember the name of it though

  3. #3
    yes,

    myObject addAction["Gonna Pick You Up!", "pickup.sqf"];

    pickup,sqf
    Code:
    _object = _this select 0;
    _id = _this select 2;
    deleteVehicle _object; // or add it to players gear (like evMoscow, evMoney, etc)
    _object removeAction _id;
    you can get more elaborate with it, check the biki for addAction and how to implement it:
    http://community.bistudio.com/wiki/addAction

Similar Threads

  1. How to filter out certain objects without class from all objects around?
    By Rydygier in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 5
    Last Post: May 25 2012, 17:49
  2. Attaching sound to a pickable object
    By CaptainBravo in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 13
    Last Post: Sep 13 2010, 09:42
  3. Objects attaching to objects
    By Nathanz in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 2
    Last Post: Feb 17 2003, 16:16
  4. Replace objects, or make dis(appear) objects
    By JAP in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 2
    Last Post: Sep 21 2002, 18:08
  5. Bis:what objects are available as defined objects?
    By WareWolf in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 0
    Last Post: Jul 4 2002, 09:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •