![]() |
canbecarried;
I was messing around with the command
PHP Code:
How do you fix it so that when you pick it up and throw it that the image doesn't disappear? |
Default carrying system is very inflexible, you'll have to go custom to do anything exciting.
|
Quote:
|
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. |
| All times are GMT +2. The time now is 05:13 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.