Initial upload
Initial upload
This commit is contained in:
13
_module/nss/aw_egg.nss
Normal file
13
_module/nss/aw_egg.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
void main()
|
||||
{
|
||||
object oPC;
|
||||
object oTarget;
|
||||
oTarget = GetItemActivatedTarget();
|
||||
int Dur=3;
|
||||
int nInt;
|
||||
nInt = GetObjectType(oTarget);
|
||||
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_COM_CHUNK_GREEN_MEDIUM), GetLocation(oTarget));
|
||||
DelayCommand(0.2,ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_COM_CHUNK_YELLOW_SMALL), GetLocation(oTarget)));
|
||||
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_IMP_HEAD_ACID), GetLocation(oTarget), RoundsToSeconds(Dur));
|
||||
SpeakString(GetName(OBJECT_SELF)+" has thrown an egg at "+GetName(oTarget));
|
||||
}
|
||||
Reference in New Issue
Block a user