Changed folder name.
Changed folder name.
This commit is contained in:
32
_module/nss/blastpc.nss
Normal file
32
_module/nss/blastpc.nss
Normal file
@@ -0,0 +1,32 @@
|
||||
//Created by Genisys / Guile 5/22/08
|
||||
//Basically we are gonna use a fancy visual and Knock Down the PC for emphasis
|
||||
//in a conversation, because they are begging for items or gold.
|
||||
|
||||
//Put this on action taken in the conversation editor
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
object oTarget;
|
||||
oTarget = oPC;
|
||||
|
||||
int nInt;
|
||||
nInt = GetObjectType(oTarget);
|
||||
|
||||
effect eEffect;
|
||||
eEffect = EffectVisualEffect(VFX_FNF_GREATER_RUIN);
|
||||
|
||||
if (nInt != OBJECT_TYPE_WAYPOINT)
|
||||
DelayCommand(1.0, ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget));
|
||||
else
|
||||
DelayCommand(1.0, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect, GetLocation(oTarget)));
|
||||
|
||||
eEffect = EffectKnockdown();
|
||||
|
||||
eEffect = SupernaturalEffect(eEffect);
|
||||
|
||||
DelayCommand(2.5, ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 20.0f));
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user