Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Need Help with a certain picture thing (https://forums.graalonline.com/forums/showthread.php?t=5688)

DuckyJ 06-25-2001 12:27 AM

Need Help with a certain picture thing
 
how do I make the poerson hold a gif or look like it when i have him shoot the weapon? I am not sure.

Metal-Slug 06-25-2001 12:29 AM

do u mean like a bow?

Metal-Slug 06-25-2001 12:30 AM

i like your sig thing about me!

General 06-25-2001 12:34 AM

make a gani, go to graphics forum

DuckyJ 06-25-2001 12:34 AM

LoL yues like teh bow

Metal-Slug 06-25-2001 12:39 AM

use the shoot.gani file, then
like this
NPC Code:

if (playertouchsme) {
toweapons Bow and Arrows;
}
if (weaponfired&&playerdarts>0) {
playerdarts--;
freezeplayer 0.3;
setani shoot,wbow1.gif;
timeout=0.25;
}
if (timeout) shootarrow playerdir;


just edit that the way you want!

DuckyJ 06-25-2001 08:00 PM

Uh I do the setani shoot,myganiname.gani;
and when it fires it shows the shoot sprite, but not my MAGNIFICENTO GANI!?

Why must it do this? what can I put to make it bettar?

DuckyJ 06-25-2001 08:03 PM

when I did setani myaniname,mypngname.png;


it shows just a shadow for the gani, yet mine doesn't do that. Why?

DuckyJ 06-25-2001 08:09 PM

I made it on GraalShop(Why do they call it that?), so why would it be corrupt? Is there any way to fix it?

DuckyJ 06-25-2001 08:13 PM

I got it to work but uh it still doesnt show the gun gif i picked out, only the body parts tat were ment to move, but never the gif.

DuckyJ 06-25-2001 08:27 PM

*whines*

Metal-Slug 06-25-2001 09:30 PM

just use
NPC Code:

replacegani shoot,yourgani;


grim_squeaker_x 06-26-2001 04:41 PM

Or if the image for your gun was made in the same way as wbow1.gif just use: setani shoot,gunimage; There gunimage is the filename of the gun image.


All times are GMT +2. The time now is 11:33 PM.

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