Skip to content

Looking for BCS examples

CallirgosCallirgos Member Posts: 105
Hi

I'm scripting a battle between two wizards and I'd like to find a list of conditions I can use.

Also - Here is a condition I think will work. Could someone verify this will be used on Minsc if he is less than level 5?

7jupld0h4tf9.png

Comments

  • argent77argent77 Member Posts: 3,462
    The script example should work. However, it can be improved somewhat.

    1. There is a simpler way to check for character level: LevelLT("Minsc",5)
    2. Checking for Dead() is sensible but possibly not enough. I'd also check for certain disabling states, or the script might waste the spell on an already incapacitated Minsc: !StateCheck("Minsc", STATE_IMMOBILE) or !StateCheck("Minsc", CD_STATE_NOTVALID)
    3. A range check might also help to improve the chance that Minsc is actually hit by the spell: Range("Minsc",15)
  • CallirgosCallirgos Member Posts: 105
    Awesome. Thanks. Good to see you again, Argent77!

    BTW, I'm playing and modding these infinity engine games on my stream.
    Feel free to drop by.




Sign In or Register to comment.