Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Server (https://forums.graalonline.com/forums/forumdisplay.php?f=14)
-   -   Showimg - Stefan, please read (https://forums.graalonline.com/forums/showthread.php?t=3001)

05-16-2001 11:26 AM

Showimg - Stefan, please read
 
Stefan,
Is there anyway you can add support for a script command called showimglocal? (That way, the only person who would see the image shown is the one who activated it.)

Er1c 05-16-2001 11:30 AM

All you need to do is make the script client-side. add //#CLIENTSIDE to the script, and EVERYTHING below that is clientside. so you could do something like this to only let the player that touchs an NPC see a message:
NPC Code:

if (created) setimg shadoworb.gif;
//#CLIENTSIDE
if (playertouchsme) {
message #n touched me!;
}


Admins 05-16-2001 04:04 PM

showimg: use an index outside of 0-199 if you don't want
other people be able to see it

05-18-2001 05:17 AM

i know i know this is such a lame Q but i'm gonna go on with it anyway:
what do you mean by index #

Falcor 05-18-2001 05:44 AM

INDEX NUMBER
 
showimg Index,ImgFileName,XCoordinate,YCoordinate;


The 1st parameter you need is INDEX wich means bascially its name only its a Number... Its used to distinguish that Showimg Img from all others shown by JUST THAT npc... Its also used so you can edit the img with changeimgpart changeimgzoom change imgcolors ect ect.

haunter 05-27-2001 12:50 AM

well you know...
 
i say add the client to the what-sit then multyply it by the index number that the NPC provides, so if you do that! then you can participate in the show Who Wants to be a Millionaire!!!

*wants to sound smart*

CrazedMerlin 05-27-2001 08:54 AM

Re: well you know...
 
Quote:

Originally posted by haunter
i say add the client to the what-sit then multyply it by the index number that the NPC provides, so if you do that! then you can participate in the show Who Wants to be a Millionaire!!!

*wants to sound smart*

Please procede to putting your head in a trash can and running into a wall OKAY!?

MoonAngel 05-27-2001 09:01 AM

Don't tell him that!!! He might listen and enjoy it! :D


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

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