Thread: showani?
View Single Post
  #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