Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > NPC Server
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 05-16-2001, 11:26 AM
Guest
Posts: n/a
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.)
  #2  
Old 05-16-2001, 11:30 AM
Er1c Er1c is offline
Registered User
Er1c's Avatar
Join Date: Mar 2001
Location: Chicago, IL
Posts: 791
Er1c is on a distinguished road
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!;
}

__________________
Eric Kraft
  #3  
Old 05-16-2001, 04:04 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
showimg: use an index outside of 0-199 if you don't want
other people be able to see it
  #4  
Old 05-18-2001, 05:17 AM
Guest
Posts: n/a
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 #
  #5  
Old 05-18-2001, 05:44 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
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.
__________________

subliminal message: 1+1=3
  #6  
Old 05-27-2001, 12:50 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
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*
  #7  
Old 05-27-2001, 08:54 AM
CrazedMerlin CrazedMerlin is offline
Some Guy :\
Join Date: Apr 2001
Posts: 3,619
CrazedMerlin is on a distinguished road
Send a message via AIM to CrazedMerlin Send a message via Yahoo to CrazedMerlin
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!?
__________________

ICQ: 117881194
AIM: TehWizad
E-Mail: [email protected]
  #8  
Old 05-27-2001, 09:01 AM
MoonAngel MoonAngel is offline
Banned
MoonAngel's Avatar
Join Date: Mar 2001
Location: QUÉBEC!
Posts: 1,443
MoonAngel is on a distinguished road
Send a message via ICQ to MoonAngel Send a message via AIM to MoonAngel
Don't tell him that!!! He might listen and enjoy it!
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:37 PM.


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