generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
14
_module/nss/deity_start.nss
Normal file
14
_module/nss/deity_start.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "in_g_cutscene"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastUsedBy();
|
||||
object oTarget = GetWaypointByTag("kneel_wp");
|
||||
effect eEffect = EffectVisualEffect(VFX_IMP_SPELL_MANTLE_USE);
|
||||
DelayCommand(3.0, ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oPC));
|
||||
PlaySound("sco_megrdholy01");
|
||||
AssignCommand(OBJECT_SELF, ActionStartConversation(oPC, "deity"));
|
||||
GestaltFace(0.0, oPC, 0.0, 2, oTarget);
|
||||
DelayCommand(2.0, AssignCommand(oPC, PlayAnimation(ANIMATION_LOOPING_MEDITATE, 1.0, 500.0)));
|
||||
SetLocalInt(oPC, "shrine", 1);
|
||||
}
|
||||
Reference in New Issue
Block a user