9 lines
363 B
Plaintext
9 lines
363 B
Plaintext
|
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);
|
||
|
}
|