Initial commit
Initial commit [1.18]
This commit is contained in:
16
_module/nss/destin_drow_illi.nss
Normal file
16
_module/nss/destin_drow_illi.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
DelayCommand(2.0, AssignCommand(oPC, JumpToObject(GetWaypointByTag("PT_ILLINDITH"))));
|
||||
|
||||
object oTarget = GetObjectByTag("WP_sha_Gateway");
|
||||
|
||||
//Visual effects can't be applied to waypoints, so if it is a WP
|
||||
//apply to the WP's location instead
|
||||
|
||||
int nInt;
|
||||
nInt = GetObjectType(oTarget);
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_FNF_SCREEN_SHAKE), oTarget, 2.0);
|
||||
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_FNF_PWKILL), GetLocation(oTarget));
|
||||
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_HARM), GetLocation(oTarget));
|
||||
}
|
Reference in New Issue
Block a user