so I've been looking at making character scripts, and there is one thing I can't figure out fully
lets say for example I want to make a script where my character casts draw upon holy might when the enemy is sighted, but I only want to have the caster cast it once ( if I have more than 1 memorized) but when it comes to checking the state to see if my character already has it cast, this is where things get a little wonky
im pretty sure in the past I just used checkstate drawuponholymight but that didn't seem to work
but then I also realized for things like armor of faith, for when it checks state it says 3,ARMORCLASS, and not armor_of_faith
and then even deathward has check state: scriptingstate2
where are all these armor class/ scripting states located? im using near infinity and I cant find them anywhere, im pretty sure, if I can just make customized scripting states ( like the deathward one for example), I can make my draw upon holy might work perfectly if I just make it a scripting state
lets say for example I want to make a script where my character casts draw upon holy might when the enemy is sighted, but I only want to have the caster cast it once ( if I have more than 1 memorized) but when it comes to checking the state to see if my character already has it cast, this is where things get a little wonky
im pretty sure in the past I just used checkstate drawuponholymight but that didn't seem to work
but then I also realized for things like armor of faith, for when it checks state it says 3,ARMORCLASS, and not armor_of_faith
and then even deathward has check state: scriptingstate2
where are all these armor class/ scripting states located? im using near infinity and I cant find them anywhere, im pretty sure, if I can just make customized scripting states ( like the deathward one for example), I can make my draw upon holy might work perfectly if I just make it a scripting state








