I am not sure but kotor2 has this function: void ApplyEffectToObject(int nDurationType, effect eEffect, object oTarget, float fDuration=0.0f); The possible values for nDurationType are in nwnscript.nss. But i don't know if you can pass a function i...
[Read More]