Skip to content

Share your AI scripts

ImTheLawImTheLaw Member Posts: 10
This is a place where you can share your custom AI scripts.

You can also expose what kind of features you would expect from AI scripts.
For example (from Oxford_Guy ):
junk11 said:



IF
ActionListEmpty()
!ActuallyInCombat()
!ModalState(DETECTTRAPS)
!StateCheck(Myself,STATE_INVISIBLE)
THEN
RESPONSE #100
FindTraps()
END

I personally would love a single script able to:
-Attack the same enemy the learder is attacking, especially with ranged weapons (my usual strategy is to kill enemy one by one)
-Interrupt spell casters if possible with ranged weapons
-Cast a selection of spells when a button is pushed or after a rest.
-Use dectect traps/repel undead when they have nothing else to do.
-spam magic missiles and attack between each spell
-change the type of strategy with one button (spam magic, buff, run away, heal etc)
-DON'T DISOBEY ORDERS to do what they want

I don't know if those scripts are even possible.

Comments

  • NoriymNoriym Member Posts: 5
    But how do you run this script without compiling it first? I was told somewhere that we can just drop the source .baf into the scripts directory and then select them in game but still my basic scripts didn't work. I had one identical to that above and it didn't work. Perhaps I am doing something wrong?
  • RavelRavel Member Posts: 140
    @Noriym

    You need a program like NearInfinity which will compile the script for you into a format the game recognizes.
  • NoriymNoriym Member Posts: 5
    edited December 2012
    Ravel said:

    @Noriym

    You need a program like NearInfinity which will compile the script for you into a format the game recognizes.

    Thank you sir, NearInfinity is what I needed. Didn't know about it.
Sign In or Register to comment.