Graal Forums

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

entravial 08-26-2001 07:28 AM

Player script?
 
~AlphaFlame~

Just curious, does anyone happen to know how the players bodies/heads were shown before ganis came along? I'm not telling what I need the script for... but I need it for something ^_^

Also, why doesn't triggeraction work on the person triggering it?

08-26-2001 07:47 AM

sprites....

entravial 08-26-2001 07:49 AM

:rolleyes:

I mean to show the correct body sprite. Yes, player sprites changes the players sprite, but what is the script that shows the body part of that sprite?
*looks around for a sticking out tongue emoticon and doesn't see it* ... well crap

BocoC 08-26-2001 08:09 AM

It was all built into Graal. If you want to know how it was drawn, then look at the gani's. But, before Gani's, it was all built-in directly into the source code.

entravial 08-26-2001 12:06 PM

Grah...

Well then, any mathematical geniuses around that could figure out how to get the x/y/width/height from the sprites?

Caus I'm sure nobody wants to see a script like...

if (playersprite=11){
showimg 0,#8(0).png,x,y;
changeimgpart 0,the-x,the-y,the-width,the-height;
}

Hmm?

CyanideSR71 08-27-2001 05:59 AM

Yeah... Stefan should make it possible for us to change certain colors in our images...

entravial 08-27-2001 10:14 AM

~AlphaFlame~

Anyway, about the triggeraction... why it doesn't work on the person that triggers it?

Personally, I just think it just doesn't accept 0 as an index when you use it... but that's just my opinion... :-P

grim_squeaker_x 08-28-2001 01:36 AM

It's all dependent per sprite, while it might use a simple playerdir*48,playersprite*48 I do not believe it does.


All times are GMT +2. The time now is 03:41 AM.

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