best2nd 10 Posted January 15, 2012 Hello I'm new here, however that won't stop me from making this post. My problem is that onMapClick command does not support execVM command :mad:, is there any other way to execute an .sqf script when you click on map. Share this post Link to post Share on other sites
neokika 62 Posted January 15, 2012 Hello I'm new here, however that won't stop me from making this post.My problem is that onMapClick command does not support execVM command :mad:, is there any other way to execute an .sqf script when you click on map. You sure? onMapSingleClick { [] execVM "somescript.sqf" }; _neo_ Share this post Link to post Share on other sites
best2nd 10 Posted January 15, 2012 What??? I swear I saw " instead of { on BIC. Thx for your help, I can't belive I failed. That is the reason I hate coding. Share this post Link to post Share on other sites
neokika 62 Posted January 15, 2012 What??? I swear I saw " instead of { on BIC. Thx for your help, I can't belive I failed. That is the reason I hate coding. What you saw is also correct: onMapSingleClick " [] execVM 'somescript.sqf' "; _neo_ Share this post Link to post Share on other sites
twirly 11 Posted January 15, 2012 ' is the same as "" ...or... A single quote is the same as double quotes. Share this post Link to post Share on other sites