Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Find image dimensions using code (https://forums.graalonline.com/forums/showthread.php?t=36937)

RavenTelvecho 08-30-2002 08:39 AM

Find image dimensions using code
 
R0bin:
So like

#f(0) = the NPC's image name
#f(1) = the NPC's image width
#f(2) = the NPC's image height

these wont function with showcharacter

and could be used with

#i
so like

#i(imagename).width
etc

or something i dont know, just an idea

Falcor 08-30-2002 08:40 AM

I'm pretty sure there are already things that do that. Correct me if i'm wrong.

RavenTelvecho 08-30-2002 08:48 AM

R0bin: If there are tell me!!!

Com013 08-30-2002 06:22 PM

newfeatures2002.txt
 
Might be usefull to read this file ;)

Quote:

- new script functions imgwidth(filename) and imgheight(filename)
for getting the size of an image which is already loaded in
the memory

RavenTelvecho 08-30-2002 08:27 PM

R0bin: What would be good... was if when stefan updated that, he updated the commands.rtf as well.... then i wouldnt have to ask, and wouldnt have to go through a long list of "changed a bug in blah blah.." O.o

Com013 08-30-2002 08:50 PM

I'm just doing it each time I update Graal, so I don't really mind the 2 or 3 reported bug fixes.
But well...the commands.rtf should be up-to-date anyway.

RavenTelvecho 08-30-2002 11:18 PM

R0bin: Not in my version.. it doesnt even have any of the mouse stuff.

Com013 08-30-2002 11:35 PM

Sorry, I didn't speak clearly.
it should be up-to-date
unfortunatly it isn't...

RavenTelvecho 08-30-2002 11:40 PM

R0bin: Well im going through the newfeatures documents right now and finding everythign that isnt in the commands.rtf and adding it. when im finnsihed i will post it :D

aylad 08-31-2002 01:00 AM

Someone really needs to update the npcprogramming.doc, too. I get emails from people wanting to know how to setani ganiname,params; and that's basic stuff!

RavenTelvecho 08-31-2002 06:42 AM

1 Attachment(s)
Here it is, the updated commands.rtf, everything in here is from newfeatures200(1/2).txt

:D

screen_name 08-31-2002 08:57 AM

Quote:

Originally posted by RavenTelvecho
R0bin: What would be good... was if when stefan updated that, he updated the commands.rtf as well.... then i wouldnt have to ask, and wouldnt have to go through a long list of "changed a bug in blah blah.." O.o
You are gonna love me, I have completely rewritten commands.rtf.

I just have to put a few finishing touches on it, and I will post to the public. It has every single command, variable, flag, function, and message code I could find in it and neatly organized too. :p


It may be ready tomorrow if I have some time to finish it tonight, so stay tuned.

Python523 08-31-2002 09:21 AM

Quote:

Originally posted by screen_name


You are gonna love me, I have completely rewritten commands.rtf.

I just have to put a few finishing touches on it, and I will post to the public. It has every single command, variable, flag, function, and message code I could find in it and neatly organized too. :p


It may be ready tomorrow if I have some time to finish it tonight, so stay tuned.

10 bucks says i know at least 1 command in it that you dont have :-P

screen_name 08-31-2002 01:56 PM

Quote:

Originally posted by Python523

10 bucks says i know at least 1 command in it that you dont have :-P

I wouldn't doubt it, but I have all that I could find.

RavenTelvecho 08-31-2002 08:31 PM

1 Attachment(s)
ok, attached is a list of every command/flag/variable/object defenition/operator/baddie name that the graal npc editor understands.

And before anyone says "thats not every one.." Then its quite possibly true, because if i recall, some serverside only commands are not recognised by the npc editor so :P


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

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