15 lines
325 B
Plaintext
15 lines
325 B
Plaintext
void main()
|
|
{
|
|
object oItem = GetFirstItemInInventory(OBJECT_SELF);
|
|
effect eVis = EffectVisualEffect(VFX_FNF_PWSTUN);
|
|
|
|
|
|
while (GetIsObjectValid(oItem))
|
|
{
|
|
DestroyObject(oItem, 0.0);
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, OBJECT_SELF);
|
|
oItem = GetNextItemInInventory(OBJECT_SELF);
|
|
}
|
|
|
|
}
|