Quote:
Originally Posted by ChaosSlayerZ
I am not exactly sure what BT_Undead is? and how its different from just Undead?
|
BT is just BodyType -- so when I said BT_Undead, I'm basically just saying undead.
You can set up multiple factions to function differently. For instance, here are some factions that I use:
Undead KoS (-32000)
Undead KoS Assist (-32000, assist other undead in trouble)
Undead (0, won't attack, yay!)
Undead Assist (0, won't attack, yay! assist other undead in trouble)
NonNec KoS (undead that's KoS to everyone except necromancers)
That code I mentioned will only take the KoS conned mobs and make them attack higher level players if they exceed the undead threshold. Make sense?
Code:
RULE_INT(Aggro, UndeadLevelAggro, 6)
(GetBodyType() == BT_Undead && MyLevel >= RuleI(Aggro, UndeadLevelAggro))