28 lines
661 B
Plaintext
28 lines
661 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: Custom User Defined Event
|
||
|
//:: FileName
|
||
|
//:: Copyright (c) 2001 Bioware Corp.
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By:
|
||
|
//:: Created On:
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
int nUser = GetUserDefinedEventNumber();
|
||
|
|
||
|
if(nUser == 1001) //HEARTBEAT
|
||
|
{
|
||
|
if (!GetIsInCombat(OBJECT_SELF)&&!IsInConversation(OBJECT_SELF))
|
||
|
{
|
||
|
SetFacingPoint(GetPosition(GetObjectByTag("frost_altar_worship")));
|
||
|
ActionPlayAnimation(ANIMATION_LOOPING_WORSHIP);
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|