}
void instagib_invisibility()
-{
+{SELFPARAM();
self.strength_finished = autocvar_g_balance_powerup_strength_time;
StartItemA(ITEM_Invisibility);
}
}
void instagib_speed()
-{
+{SELFPARAM();
self.invincible_finished = autocvar_g_balance_powerup_invincible_time;
StartItemA(ITEM_Speed);
}
setorigin(wep, wep.origin + '0 0 1');
entity oldself;
oldself = self;
- self = wep;
- builtin_droptofloor();
- self = oldself;
+ WITH(entity, self, wep, builtin_droptofloor());
}
wep.spawn_origin = wep.origin;
}
void Item_PreDraw()
-{
+{SELFPARAM();
vector org;
float alph;
org = getpropertyvec(VF_ORIGIN);