Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-24-2006, 07:19 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
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?
__________________
Deep into the Darkness peering...

Last edited by Angel_Light; 07-25-2006 at 04:00 AM..
Reply With Quote
  #2  
Old 07-26-2006, 04:28 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Anyone???
__________________
Deep into the Darkness peering...
Reply With Quote
  #3  
Old 07-26-2006, 04:53 AM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
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.
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote
  #4  
Old 07-26-2006, 06:34 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Thanks I get it now ^o^
__________________
Deep into the Darkness peering...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:40 PM.


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