The following script is used to make fire
painful to the person stepping over it.
It should be placed on the OnEnter of a trigger placed under the fire area.
NWScript:
void main(){object oCreature = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC);
int nDamageAmmount = 10;
effect eEffectDamage = EffectDamage(10, DAMAGE_TYPE_FIRE, DAMAGE_POWER_NORMAL);
if (GetIsObjectValid(oCreature) == TRUE){ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffectDamage, oCreature, 1.0);
SpeakString("Ouch! That hurts!");
}}