Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Scripting Ganis into npcs offline (https://forums.graalonline.com/forums/showthread.php?t=69698)

Vega001 10-27-2006 11:31 PM

Scripting Ganis into npcs offline
 
sorry if this has already been asked but i am looking for some help in scripting a gani and the image of a weapon onto an npc "statue" in an offline level. the gani file in question is zodiac_newswordidle.gani i believe and the filename of the weapon is zodiac_topazkatana.png . If anyone could help me i would greatly appreciate it

Chompy 10-28-2006 04:22 PM

I think you could ask some staff on Zodiac like Yen,
but I think it has something with gani params/attrs
tried like:
PHP Code:

setani("zodiac_newswordidle""zodiac_topazkatana.png"); //GS2

setani zodiac_newswordidlezodiac_topazkatana.png//GS1 

?

Vega001 10-28-2006 05:49 PM

i used that

it made my player have the attributes (no weapon image) and after i moved the gani stopped

can i make the npc have the gani?

Magadal 10-28-2006 05:52 PM

Quote:

Originally Posted by Vega001 (Post 1237149)
i used that

it made my player have the attributes (no weapon image) and after i moved the gani stopped

can i make the npc have the gani?

Yea, just use setcharani instead of setani.

xXziroXx 10-28-2006 05:53 PM

setcharani instead of setani.

fowlplay4 10-28-2006 09:56 PM

Its offline so.. this should work.
PHP Code:

//#CLIENTSIDE
if (created) {
 
showcharacter;
 
setcharprop #P2,zodiac_topazkatana.png;
 
setcharani zodiac_newswordidle,0;



Vega001 10-29-2006 02:08 AM

wow thanks alot you guys, all of your input really helped <3

_Z3phyr_ 10-30-2006 01:25 AM

yo man -- use replaceani(); !!!1!
replaceani idle,newswordidleganihere;
replaceani walk,newswordwalk;
etc


All times are GMT +2. The time now is 06:35 AM.

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