Graal Forums

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

FlameMarth 05-15-2003 01:04 AM

GANIparams?
 
what are gani params? I'm making a new gun NPC(made the GFX) and i dont know what the ganiparams variable in the 'shoot' string....Can some1 tell me?

Python523 05-15-2003 01:06 AM

it's the same thing in setani
setani gani,params;

FlameMarth 05-21-2003 12:49 AM

x.x
 
can u post an example of a straight 'shoot' command?

I'll really appreciate it :P

Python523 05-21-2003 12:54 AM

shoot x,y,z,getangle(vecx(dir),vecy(dir)),0,0,hatnpc,3;

Projectshifter 05-21-2003 03:59 AM

Arg, everyone seems to use the shoot command, but personally I dislike it =/
I would much rather make my own shoot, as you can make it do exactly what you need, but if you don't have the time then I guess shoot is adequate. okay, done rambling.
---Shifter

Python523 05-21-2003 04:08 AM

Quote:

Originally posted by Projectshifter
Arg, everyone seems to use the shoot command, but personally I dislike it =/
I would much rather make my own shoot, as you can make it do exactly what you need, but if you don't have the time then I guess shoot is adequate. okay, done rambling.
---Shifter

shoot is fine...much better than any custom scripted thing I think

Projectshifter 05-21-2003 05:21 AM

Depends... he he. Maybe I just haven't experimented enough with shoot...
---Shifter

Knuckles 05-21-2003 05:35 AM

Quote:

Originally posted by Python523
shoot x,y,z,getangle(vecx(dir),vecy(dir)),0,0,hatnpc,3;
uhm... I thought it was
getangle(x+vecx(dir),y+vecy(dir))

Soul-Blade 05-21-2003 01:45 PM

Shoot command is superior in every way to any custom system, unless some special movements (such as a fireball homing in on a target) is needed.

Projectshifter 05-22-2003 03:41 AM

Wow, thanks for stating something stupid... acting like you're a godly scripter. I agree shoot has many uses, but you can have more control and interaction with a customized system. But whatever people want to use they can. For example if you wanted a boomerang, it goes and then slows and then loops around, shoot would work for a part of it, but it just wouldn't for the rest. But whatever, no big deal either way.
---Shifter


All times are GMT +2. The time now is 03:34 PM.

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