Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
8
_module/nss/ty_tvrnsleeper1.nss
Normal file
8
_module/nss/ty_tvrnsleeper1.nss
Normal file
@@ -0,0 +1,8 @@
|
||||
void main()
|
||||
{
|
||||
object oSleeper1 = GetObjectByTag("ty_sleepman1");
|
||||
effect eSleeping = EffectVisualEffect(VFX_IMP_SLEEP);
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eSleeping, oSleeper1);
|
||||
DelayCommand(6.0, ApplyEffectToObject(DURATION_TYPE_PERMANENT, eSleeping, oSleeper1));
|
||||
}
|
||||
Reference in New Issue
Block a user