Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Thread for npc questions (https://forums.graalonline.com/forums/showthread.php?t=81911)

cbk1994 09-20-2008 05:31 AM

It's part of the GANI. "Continuous", I believe.

BonzaiXxXSRStudios 09-20-2008 05:37 AM

Ok that makes sense, it probably would be the easiest thing to do. Ok, now i dont want to make things to simplistic for you to the extent where it is irritatting to answer, but as for running ganis, clientside, how would i script that?

cbk1994 09-20-2008 05:42 AM

setani("gani_name", null);

is normally sufficient. To send params, do this:

setani("gani_name", param1, param2, param3);

You probably won't have to worry about the second.

BonzaiXxXSRStudios 09-20-2008 05:52 AM

Ok now the command "null". What does that actually do? ive seen that command alot and never quite understood its purpose.

cbk1994 09-20-2008 06:21 AM

Quote:

Originally Posted by BonzaiXxXSRStudios (Post 1424776)
Ok now the command "null". What does that actually do? ive seen that command alot and never quite understood its purpose.

It just means nothing. In GS2, this is pretty much true:

null = 0 = false = ""

A second parameter is required, which would be the gani param, but, chances are you don't have one, so you just use nothing.

BonzaiXxXSRStudios 09-20-2008 06:33 AM

Ok, i understand. Thanks.


All times are GMT +2. The time now is 12:06 AM.

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