View Single Post
  #16  
Old 04-14-2017, 12:41 AM
Coenxai's Avatar
Coenxai
Hill Giant
 
Join Date: Dec 2013
Posts: 151
Default

Quote:
Originally Posted by ChaosSlayerZ View Post
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))
__________________
"The true sign of intelligence is not knowledge but imagination."
Reply With Quote