PDA

View Full Version : Command changes in Arma



DCurrahee
Nov 30 2006, 20:18
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 {&#91;_pos&#93; exec &#34;helitransport.sqs&#34;;}
[/QUOTE]


I&#39;ve bid for an early Czech release on ebay (yes it&#39;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&#39;ve checked the wiki and don&#39;t see what I would need to change.

Thanks

MrZig
Nov 30 2006, 21:04
Try this.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">onMapSingleClick &#34;&#91;_pos&#93; exec &#34;&#34;helitransport.sqs&#34;&#34;&#34;[/QUOTE]

DCurrahee
Nov 30 2006, 21:54
Thanks MrZig I&#39;ll make the changes and send them off to see if we have any better luck, that should&#39;ve been obvious, I cannot wait to get a copy of this.