How to get access to attachedImplements now ?

Your forum for all discussions around Modding.
Walgalla
Posts: 6
Joined: Fri Dec 16, 2016 11:20 am

How to get access to attachedImplements now ?

Post by Walgalla »

Hello,
I am trying convert FS17 script to FS19.

This is how it work for FS17:

for nIndex,oImplement in pairs(oVehicle.attachedImplements)
do
...
end;

where oVehicle is:
local oVehicle = g_currentMission.steerables;

Now, I replace oVehicle like:
local oVehicle = g_currentMission.enterables;

But oVehicle.attachedImplements return nil. So, how I can get attachedImplements now?

Any sample highly appreciate.