Hello,
Today is my 3rd day of learning about sqf, and I am trying to understand how to extend an object. I want to extend the Land_Barrel_sand and basically make it transportable via ACE's cargo module.
My config.cpp:
I am trying to spawn the barrel via this line in my init.sqf:Code:class CfgVehicles { class Land_Barrel_sand; class Land_Barrel_transport : Land_Barrel_sand { ACE_canBeCargo = 1; }; };
And here is the line that I see in the rpt file that is causing concern:Code:_barrel = "Land_Barrel_transport" createVehicle(getMarkerPos "barrel_spawn");
Can someone educate me as to the error of my ways?Code:Cannot create non-ai vehicle Land_Barrel_transport,
HOME
Reply With Quote



