DCurrahee 0 Posted November 30, 2006 A friend of mine is helping me get my scripts ready for ArmA's release here in the US. Out of most of the scripts the only error he's receiving so far is with onMapSingleClick, giving him an error like: Error onmapsingleclick: Type code, expected string An example of how I used it was binding it to Radio message alpha and on activation: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> onMapSingleClick {[_pos] exec "helitransport.sqs";} I've bid for an early Czech release on ebay (yes it's THAT importatant to me) but would like to have my scripts semi functional before the US release, so any help would be appreciated. I've checked the wiki and don't see what I would need to change. Thanks Share this post Link to post Share on other sites
MrZig 0 Posted November 30, 2006 Try this. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">onMapSingleClick "[_pos] exec ""helitransport.sqs""" Share this post Link to post Share on other sites
DCurrahee 0 Posted November 30, 2006 Thanks MrZig I'll make the changes and send them off to see if we have any better luck, that should've been obvious, I cannot wait to get a copy of this. Share this post Link to post Share on other sites