Jump to content

Not AND but OR


Recommended Posts

Recently I was trying to set up a script whereby if the Axis declares war on the USA that Cuba would enter the war and start a convoy to the USA. The problem I'm having is that Cuba starts the game as neutral. Now I can code for Cuba being neutral or I can code for Cuba being Allied but it requires 2 separate scripts. Everthing I've seen requires "this AND that", and I need "this OR that". Is there a was to do this in one script, Cuba as neutral OR allied?

For that matter what other comparisons can you make? Greater than or less than, ELSE, ELSE IF, NOT, etc...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...