![]() |
Changing an image in a gani
Alright, basically I have a base gani and a handful of custom images
I want to be able to use a weapon that will pass an image name to the script, and the gun image will change according to that If this is clear, how would I go about doing this? o.o |
When you add a sprite, you see the list you type in the file name? Click it and it'll drop down and show a list.
You can either do so via ATTR#, or PARAM#. I would suggestion ATTR#... change it to ATTR2 or something, an attribute unused. Then, in the actual client with gscript you can do something like... player.attr[2] = "gun1.png"; Make sure when you change the images of the sprites in Graalshop, you put the name of the gun in the appropriate ATTR# box on the right, so you will actually see the image while you're editing the gani. |
Awsome, thanks Dusty :D
|
No problem.
|
All times are GMT +2. The time now is 12:06 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.