I have made a bridge and wish to hide parts for different variations, for example on and off ramp etc.
I have labled the Ramps osal and osar, I have done this in 0.500/1.125/FireGeo/Geo/RoadWay/ViewGeo
My config uses this;
--cfgmodel--
class All {};
class Static:All {};
class Building:Static {};
class pontoonbridge:Building
{
sectionsInherit="";
sections[]={"osar","osal"};
};
--cfgvehicle---
class mybridge: Building
{
armor=1000;
scope=public;
hiddenSelections[]={"osal","osar"};
model="\******\pontoonbridge.p3d";
destrType=DestructBuilding;
displayName="Pontoon Bridge (Centre)";
vehicleClass= $STR******CLASSBUILDING;
class eventhandlers {killed = "_this exec ""\******\scripts\killed.sqs""";};
};
Basicly those sections won't go hidden in game, tried multiply ways, I can only assume Im missing something like perhaps buildings can't have hidden sections like this?