TestBounce() //This is an example of how to call SpawnBounce on an entity.
{
bounceObj = spawnSM(self.origin,"com_plasticcase_friendly");
bounceObj thread SpawnBounce(900);
}
SpawnBounce(bounceHeight)
{
while(isDefined(self))
{
foreach(player in level.players)
{
if(Distance(self.origin, player.origin) < 25)
player SetVelocity(player GetVelocity()+(0,0,bounceHeight));
}
wait .01;
}
}
DeathBarriers = GetEntArray("trigger_hurt", "classname");
foreach(Barrier in DeathBarriers)
Barrier.origin = (0,0,9999999);
just change it to a negative number. if you just want to lower it, then just do Barrier.origin += (0,0,-1000); or however much you want to lower it.I need to change 9999999 to lower ?