You should be able to achieve the result you want with something like this for an eval script:
~ If we're in output mode, don't do anything
doneif (state.isoutput <> 0)
~ If we're not enabled, get out now
doneif (field[pIsOn].value = )
~ Set INT & CHA to 1
hero.child[aINT].field[ModCirc].value = 1
hero.child[aCHA].field[ModCirc].value = 1
You may need to fiddle with the 'phase' & 'priority' settings to get it to work properly.
Oops! I type too slow!
Last edited by Kaelryk; October 20th, 2010 at 12:32 PM.
Reason: I got beat to the punch...
|