Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Serverside and play() (https://forums.graalonline.com/forums/showthread.php?t=64908)

Bl0nkt 03-24-2006 12:44 AM

Serverside and play()
 
Well, I need a better way to play a sound for every player in the level. I am making an NPC that when grabbed, makes a noise.

I am currently using a gani, which is working, but I can't set the IMG part (setImgPart) with a gani.

Any help?

Warcaptain 03-24-2006 12:56 AM

yes you can... use gani scripts.

also could probably make a blank gani with a sound file set to PARAM1

and then do something like

showani 0,x,y,soundani,FILENAME;

(or whatever the syntax for showani is, ive never even used it)

Bl0nkt 03-24-2006 01:05 AM

I have PARAM1 set to sound, and PARAM2 set to the image. The problem is that I can't change the image's size through a script if I'm using a gani.

If I find the syntax for showAni(), then I'll be able to just put an animation of the noise on the NPC's x,y.

Warcaptain 03-24-2006 01:09 AM

showani index,x,y,direction,animation,params;


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

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