View Single Post
  #5  
Old 04-09-2011, 11:09 PM
Devil_Lord2 Devil_Lord2 is offline
David K?
Devil_Lord2's Avatar
Join Date: Apr 2011
Location: PA, MD.
Posts: 643
Devil_Lord2 can only hope to improve
@fowlplay4

Okay, so in the gani text file, I can just stick in:

SPRITE 40 ATTR2 0 0 48 48 hat up

DEFAULTATTR2 dkthing1.png

and then on the npc
this.attr[2] = "name.ext";

and this will change the image without needing to worry about the gani anymore?
And then depending what the gani is used for, I can put
if (this.attr[2] == "name.ext"){
classname::functionname();

Depending if I make each type of ?? different classes ... Then again that could just be avoided by making the same systems with slight differences in separate functions..

Anyway essentially that is the way to change the image of the gani right ^.^?

@PowerProNL
No problem, and I will see you as well should you ever decide to visit Testbed.

Also, is there a way to change my name to David K? and not have my account name? D:
__________________

Digital Media Artist - David K? </3 (UnLoved)
www.davidkrout.com
www.twitch.com/DavidKkz



Reply With Quote