Initial upload
Initial upload
This commit is contained in:
33
_module/nss/emote_meditate.nss
Normal file
33
_module/nss/emote_meditate.nss
Normal file
@@ -0,0 +1,33 @@
|
||||
//Trinity Emote System, by Tab
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
object user = GetLastUsedBy();
|
||||
object user1 = GetLastUsedBy();
|
||||
object user2 = GetLastUsedBy();
|
||||
AssignCommand(oPC, ActionPlayAnimation(ANIMATION_LOOPING_MEDITATE, 1.0f, 27.0f));
|
||||
|
||||
object oTarget;
|
||||
oTarget = oPC;
|
||||
|
||||
int nInt;
|
||||
nInt = GetObjectType(oTarget);
|
||||
|
||||
effect eEffect;
|
||||
eEffect = EffectVisualEffect(VFX_IMP_KNOCK);
|
||||
|
||||
DelayCommand(3.0,PlayVoiceChat(VOICE_CHAT_HEALME,user));
|
||||
DelayCommand(3.0,PlayVoiceChat(VOICE_CHAT_NEARDEATH,user1));
|
||||
DelayCommand(3.0,PlayVoiceChat(VOICE_CHAT_HEALME,user2));
|
||||
|
||||
|
||||
if (nInt != OBJECT_TYPE_WAYPOINT)
|
||||
DelayCommand(25.0, ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget));
|
||||
else
|
||||
DelayCommand(25.0, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect, GetLocation(oTarget)));
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user