Battledale_PRC8/_module/nss/tri_worship.nss

9 lines
363 B
Plaintext
Raw Permalink Normal View History

void main()
{
object oSelf = OBJECT_SELF ;
object oPC = GetLastUsedBy();
AssignCommand(GetLastUsedBy(),ActionDoCommand(SetFacingPoint(GetPositionFromLocation(GetLocation(OBJECT_SELF)))));
AssignCommand(GetLastUsedBy(),ActionPlayAnimation(ANIMATION_LOOPING_MEDITATE,1.0f,1200.0f));
ActionCastSpellAtObject(SPELL_DOOM,oPC,METAMAGIC_ANY,TRUE);
}