Jump to content
Sign in to follow this  
rtek

&&: Type Array, expected Bool

Recommended Posts

[!alive T1] && [!alive T2] && [!alive T3] This is what I'm using to trigger mission complete. However, I get the message &&: Type Array, expected Bool Any suggestions? All 3 units I have to destroy are named T1 T2 or T3.

https://www.youtube.com/watch?v=W5QH...e_gdata_player I'm doing everything exactly as shown in this video. No idea what I'm doing wrong. I've also tried using AND or and and I get the same message with AND instead of &&

---------- Post added at 00:44 ---------- Previous post was at 00:42 ----------

Nevermind, sorry was using wrong brackets. Needs to be () not []

Share this post


Link to post
Share on other sites

As you mentioned yes it should be written like this

!(alive T1) && !(alive T2) && !(alive T3)

or for future reference it can be written like this afaik.

!alive T1 && !alive T2 && !alive T3

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  

×