Jump to content
Sign in to follow this  
SouthSaturnDelta

Error type script :expected bool

Recommended Posts

The code below works but gives me an error about an expected Bool.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">onMapSingleClick "_pos execvm ""marker.sqf""";

I've messed with may variations of the same thing and none seem to work apart from this above.

What is the correct syntax?

SSD

Share this post


Link to post
Share on other sites
Quote[/b] ]When click is processed, code should ultimately return true back to the engine. If false is returned, default processing by the game engine is done. Return value of any other type (including Nothing) is an error. In such case default processing by the game engine is done, and error message may be displayed.

onMapSingleClick BI Wiki Article

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  

×