Hello,
I apologize for having to post this, I've been researching and working on this for 3 days and I can't get it figured out! I am editing an older mission that has portions of it built using Amregeddon's map-builder mod. I no longer have the map-builder mod and his website no longer works. The mission uses the template script to place these objects, so I can't go into EDEN and paste the VAS line in the init text box, i have to do it via scripting. With that being said, my goal is to update/edit the template script and add the Virtual Arsenal functionality to an object. This is the object I would like to add the VAS functionality to:
_pos = [_center,_center vectorAdd [-3.68799,11.499,0],_rotation] call _fnc_rotatePos;
_obj = "Box_NATO_AmmoOrd_F" createvehicle _pos;
_obj setVectorDirAndUp [[-0.333724,-0.942671,0],[-0,0,1]];
_obj setdir ((getdir _obj) + _rotation);
_obj setPosATL _pos;
I've read the Virtual Arsenal wiki and the script center, but I cannot figure out where to put the call BIS_fnc_arsenal line that we would usually put into the init line in EDEN. Can anyone help me please?