Jump to content
Sign in to follow this  
DCurrahee

Command changes in Arma

Recommended Posts

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

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×