after checking out a subrace mod which attached a script to the player's race script slot, i began wondering: could this be applied to every creature? is there a way to, perhaps in baldur.bcs, to do a check for every creature? i'm thinking no, because i can't find an OBJ that isn't directly based off of a PC/NPC actor. my guess it would have to be attached to the PC, something like
IF
Race(Nearest(Myself),RACE_ELF)
Global("racecheck","LOCALS",Nearest(Myself),0)
THEN
RESPONSE #100
SetGlobal("racecheck","LOCALS",Nearest(Myself),1)
ApplySpellRES("elfrace",Nearest(Myself))
END
naturally, you'd have to take Nearest all the way up to TenthNearest, and do each one of those for each race/subrace you wanted to tweak. the completely unfortune thing with this is that Bioware seems to have used the race script slot as just an extra and some creatures already have vital scripts there, although they seem pretty minor so far in my perusal.
anyone else messed with this?