Grester 40 Posted August 20, 2016 I was fiddling with automated script generation of ACD and was trying to improvise the method to addAction to the objects as it created them but despite no error logged the objects have no action added to them. Is this to be expected from a SimpleObject? It's also worth mentioning that I've put the code in init.sqf which could not produce the best results perhaps. private ["_objects","_object","_data"]; _data = [ ["a3\supplies_f_heli\cargonets\cargonet_01_ammo_f.p3d", [7897.9,17631.1,167.943], [[-0.927911,-0.3698,0.0472062],[0.0173306,0.0837,0.99634]],0], ["a3\supplies_f_heli\cargonets\cargonet_01_ammo_f.p3d", [7894.37,17623.2,168.52], [[0.567657,-0.823121,-0.0154131],[0.0213262,-0.00401339,0.999765]],1] ]; _objects = []; { _object = createSimpleObject [(_x select 0), (ASLToAGL(_x select 1))]; _object setVectorDirAndUp (_x select 2); _object setPosASL (_x select 1); _object addAction ["Virtual Arsenal", {["Open",true] spawn BIS_fnc_arsenal}]; _objects pushBack _object; } forEach _data; _objects; Share this post Link to post Share on other sites
R3vo 2654 Posted August 20, 2016 I don't think action can be attached to simple objects. 1 Share this post Link to post Share on other sites
Grester 40 Posted August 21, 2016 I ended up finding the object I wanted without the need of ACD. Thanks anyway. PS: Great fan of Eden Enhanced, keep up great job. Share this post Link to post Share on other sites