Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fade_It(entity foo) =
- {
- if (foo.alpha < 0.1)
- {
- remove(foo);
- return;
- }
- foo.alpha = foo.alpha - 0.1;
- self.think = Fade_It; // I'm not sure if should be 'self' here
- self.nextthink = time + 0.5;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement