Jump to content

Two AI scripting questions...


Recommended Posts

If I am testing a certain script to make sure it works properly and this script is date-dependant, can I play a game up to just prior to the date, save it, and then be able to make modifications to the AI plan scripts and see the changes implemented when the saved game is resumed? Or do I have to start a whole new game? The reason I ask is because experimenting to find this out.. would be.. well.. confusing.. smile.gif

In regards to the Date flag for AI plan scripts: Is this the date that the AI begins to make checks, or merely a condition for activation? For example, if it was a type 0 and checked only once, would it check on this date only, or does it wait until on/after that date and when the rest of the conditions are fulfilled?

Link to comment
Share on other sites

Question 2 RE: DATE: In an AI plan script, the script only checks for activation on or after the DATE.

In the case of Type = 0, the script would only check for activation on this date.

For Type = 1, the script checks every turn on and after this date until activated. The script can only be activated (triggered) once.

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...