Changed folder name.
Changed folder name.
This commit is contained in:
19
_module/nss/sundial.nss
Normal file
19
_module/nss/sundial.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "X_O2_CONINCLUDE"
|
||||
|
||||
void main()
|
||||
{
|
||||
if (GetLocalInt(OBJECT_SELF,"NW_DO_ONCE") != 0) {
|
||||
return; }
|
||||
|
||||
object oPC = GetLastUsedBy();
|
||||
effect eHaste = EffectMovementSpeedIncrease(100);
|
||||
object oTime = GetObjectByTag("timedial");
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_DUR_BLUR), oPC, 800.0);
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eHaste, oPC, 800.0);
|
||||
|
||||
SetLocalInt(OBJECT_SELF,"NW_DO_ONCE",1);
|
||||
ShoutDisturbed();
|
||||
|
||||
DelayCommand(800.0, SetLocalInt(OBJECT_SELF,"NW_DO_ONCE",0));
|
||||
}
|
Reference in New Issue
Block a user