Changed folder name.
Changed folder name.
This commit is contained in:
21
_module/nss/deadjump.nss
Normal file
21
_module/nss/deadjump.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
void main()
|
||||
{
|
||||
object deadguy = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR,PLAYER_CHAR_IS_PC);
|
||||
|
||||
location deadguy1 = GetLocation(GetWaypointByTag("deadguy1"));
|
||||
AssignCommand(deadguy, ClearAllActions(TRUE));
|
||||
AssignCommand(deadguy, JumpToLocation(deadguy1));
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectVisualEffect(VFX_DUR_GHOSTLY_VISAGE), deadguy, 8.1);
|
||||
DelayCommand(0.2, SetPlotFlag(deadguy, TRUE));
|
||||
SendMessageToPC(deadguy, "A shock of raw power hits you. You feel the blood in your veins freeze solid, and you cannot move in the presence of the Queen.");
|
||||
SendMessageToPC(deadguy, "You try to scream, but your immobile body cannot respond.");
|
||||
DelayCommand(0.3, SetCommandable(FALSE,deadguy));
|
||||
DelayCommand(8.0, SetCommandable(TRUE,deadguy));
|
||||
DelayCommand(8.01, SetPlotFlag(deadguy, FALSE));
|
||||
|
||||
DelayCommand(8.2, AssignCommand( deadguy, ClearAllActions(FALSE)));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user