Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Changing Sprites (https://forums.graalonline.com/forums/showthread.php?t=71320)

HazeOfTime 01-08-2007 07:11 PM

Changing Sprites
 
Not sure if this was a graphics or NPC post, but I posted here since its implementing the sprite sheet and not making one.
Is it possible to script it so I can use a custom sprites sheet instead of the default one?

MegaMasterX90875 01-08-2007 07:47 PM

You can do that by editing the GANIs with the Sprite sheet, but rename them something besides Walk.gani (for example), name them like Serv-walk.gani and upload them.

Then you can do a script in your system NPC like:

PHP Code:

function onCreated()
{
   
replaceani(walk,"Serv-Walk");


I can't recall wether to put .gani in that second parameter or not x_x

HazeOfTime 01-08-2007 10:51 PM

I mean the things like thrown bushes, signs and leaps.

Chompy 01-08-2007 10:58 PM

I don't think its a command for it, there was a thread about it.


All times are GMT +2. The time now is 03:30 PM.

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