Jump to content
Sign in to follow this  
spitfire007

if boolean problem

Recommended Posts

I would have thought that this was boolean.

if (("ToolKit" in (items player + assignedItems player)) then {

But apparently it's not ?

Share this post


Link to post
Share on other sites
I would have thought that this was boolean.

if (("ToolKit" in (items player + assignedItems player)) then {

But apparently it's not ?

your missing one ) at the end

---------- Post added at 15:32 ---------- Previous post was at 15:31 ----------

ps, you dont need assignedItems player as items player returns everything last time I checked (and if not you cant assign the toolkit (unless mods))

Share this post


Link to post
Share on other sites
your missing one ) at the end

Which would have been so obvious if OP enabled script errors

Share this post


Link to post
Share on other sites

I did enable script errors ... but all I saw was boolean error ... thanks for the help though.... !

Arma -showerror... is kind of ... errr .. flaky IMO.

---------- Post added at 09:55 ---------- Previous post was at 09:52 ----------

your missing one ) at the end

---------- Post added at 15:32 ---------- Previous post was at 15:31 ----------

ps, you dont need assignedItems player as items player returns everything last time I checked (and if not you cant assign the toolkit (unless mods))

Yar..... I just thought I would cover it all .. for future reference :-) Cheers man.

Edited by spitfire007

Share this post


Link to post
Share on other sites
I did enable script errors ... but all I saw was boolean error ... thanks for the help though.... !

Arma -showerror... is kind of ... errr .. flaky IMO.

---------- Post added at 09:55 ---------- Previous post was at 09:52 ----------

Yar..... I just thought I would cover it all .. for future reference :-) Cheers man.

-showScriptErrors

If you have many errors, then onscreen errors would be useless, but good indication that you have errors and need to look in .rpt

Share this post


Link to post
Share on other sites

indeed ... -showscripterrors.......

I only had one error.

And it's still useless :butbut:

Share this post


Link to post
Share on other sites
indeed ... -showscripterrors.......

I only had one error.

And it's still useless :butbut:

Is this still in regards to your OP?

If so just paste the whole script because it could possibly be coming from other areas or it could be maybe a mod you're running.

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  

×