Graal Forums

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

Angel_Light 07-24-2006 07:19 AM

showani?
 
can someone please explain showani in explixit detail, The wiki didnt describe it to well and I couldnt find nothing of the forums. Help, please?

Angel_Light 07-26-2006 04:28 AM

Anyone???

ForgottenLegacy 07-26-2006 04:53 AM

PHP Code:

showani(indexxyanimationparams...); 

index is an integer. It's used just like showimg. Images and animations with the same index will override each other. It's how you fiddle with them with script. Each showani, showimg, showpoly, etc (in the _same_ script, that is) needs its own individual index.

x and y are obvious.

animation is the name of the gani, without the ".gani" suffix.

params are the params you can pass to the gani, which do different things with different ganis

PHP Code:

function onCreated() {
  
showani(200xy"sit"NULL);


PHP Code:

function onCreated() {
  
showani(200xy"zodsword"attr[2]);


Both of those will work if you have the ganis.

Angel_Light 07-26-2006 06:34 AM

Thanks I get it now ^o^


All times are GMT +2. The time now is 12:09 PM.

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