WarumSchletes
Wanderer
Hello all, I'm stumped on this... I got words of power to show for NPC's like my original plan, however I decided to only do it for human bodyvalues (400 + 401), but I don't know how to change it for those specific values. Here is what I did to make all NPC's show them:
I tried using = and having another line of code for the second bodyvalue, but = can't be used instead of > apparently (yes, I'm pretty new to this).
Code:
public virtual void SayMantra()
{
if ( m_Scroll is BaseWand )
return;
if ( m_Info.Mantra != null && m_Info.Mantra.Length > 0 && m_Caster.BodyValue > 0 )
//m_Caster.Player ) if i dont want npc text
m_Caster.PublicOverheadMessage( MessageType.Spell, m_Caster.SpeechHue, true, m_Info.Mantra, false );
}
I tried using = and having another line of code for the second bodyvalue, but = can't be used instead of > apparently (yes, I'm pretty new to this).