![]() |
MattKan scripting help
I'm trying to figure out how to make it so players can carry things.
When I pick up a sign or bush, I see that my gani becomes "carrystill". Since they are both the same, I assume there is a variable to decides the image name of the object the player is carrying. Is anyone familiar with the name of this variable? |
I believe the player attribute for the carry image is player.attr[3].
So, if you did something like: PHP Code:
|
Quote:
I think you should do something like: PHP Code:
|
Quote:
PHP Code:
PHP Code:
|
Quote:
|
I wasn't trying to give him a full working script. :P
I have no clue what hes using it for...so I showed him how to use it. ;p |
Quote:
Does anyone know the gani name for dropping the attr[3] (ie throwing the bomb or bush on the ground) |
Oh, and on another note, (don't want to make an entirely different thread) how would I make music play from a url?
|
Quote:
|
Quote:
|
There is no throw gani. There are only carry ganis and lifting, and lifting doesn't use player.attr[3] so you'd have to create a custom lift gani to use it.
|
Quote:
|
| All times are GMT +2. The time now is 03:53 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.