Initial upload
Initial upload
This commit is contained in:
47
_module/nss/emote_sitdown.nss
Normal file
47
_module/nss/emote_sitdown.nss
Normal file
@@ -0,0 +1,47 @@
|
||||
// Trinity Emote System, By Tab
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
object user = GetLastUsedBy();
|
||||
object user1 = GetLastUsedBy();
|
||||
AssignCommand(oPC, ActionPlayAnimation(ANIMATION_LOOPING_CONJURE1, 1.0f, 13.0f));
|
||||
|
||||
object oTarget;
|
||||
oTarget = oPC;
|
||||
|
||||
int nInt;
|
||||
nInt = GetObjectType(oTarget);
|
||||
|
||||
effect eEffect;
|
||||
eEffect = EffectVisualEffect(VFX_IMP_SUPER_HEROISM);
|
||||
|
||||
if (nInt != OBJECT_TYPE_WAYPOINT)
|
||||
DelayCommand(4.0, ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget));
|
||||
else
|
||||
DelayCommand(4.0, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect, GetLocation(oTarget)));
|
||||
|
||||
DelayCommand(3.0,PlayVoiceChat(VOICE_CHAT_TAUNT,user));
|
||||
oTarget = oPC;
|
||||
|
||||
nInt = GetObjectType(oTarget);
|
||||
|
||||
eEffect = EffectVisualEffect(VFX_DUR_GLOBE_INVULNERABILITY);
|
||||
|
||||
if (nInt != OBJECT_TYPE_WAYPOINT)
|
||||
DelayCommand(4.0, ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget));
|
||||
else
|
||||
DelayCommand(4.0, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect, GetLocation(oTarget)));
|
||||
|
||||
DelayCommand(3.0,PlayVoiceChat(VOICE_CHAT_THREATEN,user1));
|
||||
|
||||
object oCaster;
|
||||
oCaster = oPC;
|
||||
|
||||
oTarget = oPC;
|
||||
|
||||
AssignCommand(oCaster, ActionCastFakeSpellAtObject(SPELL_RAISE_DEAD, oTarget, PROJECTILE_PATH_TYPE_DEFAULT));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user