
02-20-2011, 11:39 PM
|
|
team canada
|
 |
Join Date: Jul 2004
Location: Canada
Posts: 5,200
|
|
|
Well here's how I would consider doing it...
- Make a carryable class.
- Add onActionGrab functionality
- Set player's ani to a lifting animation and store the image name of the object somewhere for use in the animations.
- Have a system to keep the player's animation set to carry with the proper image.
- Check if the player pressed the key to throw the object, throw the object if necessary.
- Perform whatever needs to be done to make the object lay on the ground again. |
|
|
|