Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-19-2006, 07:00 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
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.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:28 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.