Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Gani Construction (https://forums.graalonline.com/forums/forumdisplay.php?f=50)
-   -   gani script (https://forums.graalonline.com/forums/showthread.php?t=41454)

aylad 12-24-2002 06:01 AM

gani script
 
I know (I think) you can place GraalScript within the .gani file; are there any restrictions on what code you can put in there? I mean, are you limited to certain keywords/commands, or can you do anything?

Dude6252000 12-24-2002 04:01 PM

Well, Gani Scripting is what I do worst with ganis, but all I really know how to do is make it set more ATTRIBs, and other stuff. But, if you didn't know, to script a gani, change it into a txt file, go into the file, make a section of the file called SCRIPT, and work under it.

aylad 12-24-2002 06:49 PM

Right, but what limitations are there for what commands I can use? I mean, can I use a gani to, say, "seteffect" for day/night?

Dude6252000 12-25-2002 04:07 AM

Quote:

Originally posted by aylad
Right, but what limitations are there for what commands I can use? I mean, can I use a gani to, say, "seteffect" for day/night?
I don't think so. I only really think you can link changeimgcolor and showimg and stuff to ATTRIBS and sprites somehow, but I don't really know. If you want to see some commands, there's like, mfireball2 and snakeboss.

aylad 12-25-2002 07:17 PM

Thanks for your help! I looked it up, something I should have done in the first place......
Quote:

from newfeatures2001.txt
- ganis can contain scripts, put it in a block:
SCRIPT
if (blabla)...
SCRIPTEND
It is restricted to this. variables and can only use
functions for playing music files and displaying showimgs


All times are GMT +2. The time now is 07:30 AM.

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