
02-19-2006, 07:00 AM
|
|
Former Classic Staff
|
 |
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
|
|
Gani System: Replacing Anis
|
Most people can agree that when scripting a movement system, the best time to change a player's animation is when initializing movement, or when stopped moving. Using a custom movement system, when I bulit the animation system, I kept in mind that I would want to have a means of replacing the player's ani. However, there was one factor I wasn't expecting. SETBACKTO.
Alright. So I have a list of global vars of anis used by the default movement system:
gani_ganiname = "ganiname"
In a first step to solve this problem, I created a list of global vars for the default values of these anis. the gani_ganiname is for replacing, the gani_ganiname_def is for storing the default value of that gani (even though it's well implied). However, I don't really know what my next step will be. perhaps take all of the gani_vars and replaceani(gani_name_def,gani_name)? There really ought to be a simpler way to do this -_-..
LOL, so I did that, and it didn't fix anything. |
|
|
|