mankyle 421 Posted August 2, 2021 So I have a big carrier and I want to use custom useractions (defined in the config.cpp) for loading other vehicles (mainly Helicopters) inside of the carrier. I thought that checking if vehicle player was in the array defined by is vehiclecargo it would work, but it is not the case Any ideas?? Thanks!!! Share this post Link to post Share on other sites
pierremgi 4935 Posted August 5, 2021 Is your big carrier made of multiple parts like USS Freedom? If yes you need to work with parts (like "Land_Carrier_01_hull_01_F") instead of the whole edited object (right click, find in config viewer) which is a base class ("Land_Carrier_01_base_F"). Anyway, the vehicle in vehicle commands are working with built VIV objects. If not, you can check for an object proximity (nearestobjects [<a position here> ,["Land_Carrier_01_hull_base_F"],50]) (that's for USS Freedom) or even a position (stationary object) Share this post Link to post Share on other sites
mankyle 421 Posted August 20, 2021 Sorry... I got it working by using the scripting command "in" Thanks!!! Share this post Link to post Share on other sites