Thread: hitobjects
View Single Post
  #4  
Old 12-04-2006, 03:40 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by xAndrewx View Post
So what can be used to break bushes then =O
PHP Code:
function onCreated()
  
setTimer(0.05);

function 
onTimeout() {
  if (
player.ani == "sword") {
    
setani("punch"NULL);
    
freezeplayer(0.24);
  }
  
setTimer(0.05);

That would play the 'punch' gani instead of 'sword',
and still crush brushes. If you change the setTimer(0.05)
to something else, it will play sword in a very short moment,
then play the wanted gani, so .05 would be best.
__________________
Reply With Quote