Initial Commit

Initial Commit
This commit is contained in:
Jaysyn904
2025-04-03 11:24:16 -04:00
parent 3ba3cf1b81
commit 5e558169a0
6086 changed files with 1502996 additions and 1 deletions

16
_module/nss/doeffect.nss Normal file
View File

@@ -0,0 +1,16 @@
void DoEffect(float oDelay, int oEffect, string oWaypoint)
{
object oTarget;
oTarget = GetObjectByTag(oWaypoint);
int nInt;
nInt = GetObjectType(oTarget);
effect eEffect;
eEffect = EffectVisualEffect(oEffect);
if (nInt != OBJECT_TYPE_WAYPOINT)
DelayCommand(oDelay, ApplyEffectToObject(DURATION_TYPE_INSTANT,
eEffect, oTarget));
else
DelayCommand(oDelay, ApplyEffectAtLocation(DURATION_TYPE_INSTANT,
eEffect, GetLocation(oTarget)));
}
void main () {}