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.
I am trying to spawn the barrel via this line in my init.sqf:
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:
_barrel = "Land_Barrel_transport" createVehicle(getMarkerPos "barrel_spawn");
Can someone educate me as to the error of my ways?
Cannot create non-ai vehicle Land_Barrel_transport,