ID:174136
![]() Sep 26 2003, 9:53 pm
|
|
i made a training bagso when u face direction 4 (right) you use the verb i assigned to it. and it worked. the animation flick worked for the user mob and the obj mob. now after i made the underlays addons, the training bag stopped working. any1 can help me?
|
![]() Sep 26 2003, 9:56 pm
|
|
Code would definitely help here.
|
obj
TrainingBag icon = 'Gym.dmi' icon_state = "TB" density = 1 verb TrainingBag() set name = "Training Bag" set category = "Training" set src in oview(1) if(usr.FLY == 1) usr << "You can't train while flying." if(usr.FLY == 0) if(usr.dir == 4) flick("TBHit",src) flick("TKick", usr) usr.MPL += 1 else usr << "You must face the training bag." TB is the training bag still state TBHit is the training bag animation state TBKick is the PC mob animation state any other info? |
Most BYONDers are American, and it's almost 4:00 am here in central time. Also, you shouldn't bump your posts 30 minutes after you had a reply. Try this..
obj Also, make sure your fly verb sets the usr.FLY to 0 when you return from your flight, and make sure you have mob/verb/FLY = 0 in your code. |