Jump to content
Sign in to follow this  
Bioz

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

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

yes,

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

pickup,sqf

_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

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×