Hi Jinker,
today I had a short look into this and think you can do it like this (example):
// The tunnel you would like to have
private _tunnelNo = 4; // from 0 to 5 !!!
// These are the tunnel positions on the map
private _pos = [[393.346,16979.3,0],[253.172,18696.2,0],[540.936,20206.0,0],[2730.52,20066.4,0],[4252.47,20084.8,0],[5769.42,20088.9,0]] select _tunnelNo;
// Find the tunnel objects for your location
private tunnels = nearestObjects [pos,["Land_vn_tunnel_01_building_01_01","Land_vn_tunnel_01_building_04_01","Land_vn_tunnel_01_building_03_01","Land_vn_tunnel_01_building_02_01"],200];
// Create the logic and stor logic object into global variable
private grp = createGroup sideLogic;
"vn_module_tunnel_init" createUnit [getPosATL player,grp,
"this setVariable ['BIS_fnc_initModules_disableAutoActivation',true,true];myTunnel = this;"];
// Now set the wanted tunnel
myTunnel setvariable ["tunnel_position",_tunnelNo];
// Call the init module function
["",[myTunnel,true]] call vn_fnc_module_tunnel_init;
// And finally spawn the units in your tunnel segments
private group = [tunnels,EAST,20,['vn_o_men_vc_regional_01','vn_o_men_vc_regional_04']] call vn_fnc_tunnel_spawn_units;
btw, these variables can be set which are the ones from the module (copy from init function of module):
private position = (logic getVariable ["tunnel_position", 0]);
private garrison_size = (logic getVariable ["garrison_size", 0]);
private garrison_side = (logic getVariable ["garrison_side", 1]);
private garrison_classnames_preselection = (logic getVariable ["garrison_classnames_preselection", "[]"]);
private garrison_classnames_custom = (logic getVariable ["garrison_classnames_custom", "[]"]);
private _actionincode_action = _logic getVariable ["actionincode_action","true"];
private _actionsearchcode_action = _logic getVariable ["actionsearchcode_action","true"];
private _actionoutcode_action = _logic getVariable ["actionoutcode_action","true"];
private _actionincode = _logic getVariable ["actionincode","true"];
private _actionoutcode = _logic getVariable ["actionoutcode","true"];