Initial upload
Initial upload
This commit is contained in:
48
_module/nss/emote_worship.nss
Normal file
48
_module/nss/emote_worship.nss
Normal file
@@ -0,0 +1,48 @@
|
||||
//Trinity Emote System, by Tab
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
AssignCommand(oPC, ActionPlayAnimation(ANIMATION_LOOPING_WORSHIP, 1.0f, 19.0f));
|
||||
|
||||
object oTarget;
|
||||
oTarget = oPC;
|
||||
|
||||
int nInt;
|
||||
nInt = GetObjectType(oTarget);
|
||||
|
||||
effect eEffect;
|
||||
eEffect = EffectVisualEffect(VFX_FNF_HOWL_WAR_CRY);
|
||||
|
||||
if (nInt != OBJECT_TYPE_WAYPOINT)
|
||||
DelayCommand(5.0, ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget));
|
||||
else
|
||||
DelayCommand(5.0, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect, GetLocation(oTarget)));
|
||||
|
||||
oTarget = oPC;
|
||||
|
||||
nInt = GetObjectType(oTarget);
|
||||
|
||||
eEffect = EffectVisualEffect(VFX_FNF_HOWL_WAR_CRY);
|
||||
|
||||
if (nInt != OBJECT_TYPE_WAYPOINT)
|
||||
DelayCommand(8.0, ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget));
|
||||
else
|
||||
DelayCommand(8.0, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect, GetLocation(oTarget)));
|
||||
|
||||
oTarget = oPC;
|
||||
|
||||
nInt = GetObjectType(oTarget);
|
||||
|
||||
eEffect = EffectVisualEffect(VFX_FNF_HOWL_WAR_CRY);
|
||||
|
||||
if (nInt != OBJECT_TYPE_WAYPOINT)
|
||||
DelayCommand(17.0, ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget));
|
||||
else
|
||||
DelayCommand(17.0, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect, GetLocation(oTarget)));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user