Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-19-2013, 04:19 PM
Jcs1919 Jcs1919 is offline
hi
Jcs1919's Avatar
Join Date: Feb 2008
Location: France
Posts: 387
Jcs1919 will become famous soon enough
Send a message via MSN to Jcs1919
Password to make invisible an img

Hello,

I want to make invisible an image if the player says a specific word, what should I put in the npc?
__________________
ich bin
Reply With Quote
  #2  
Old 08-19-2013, 05:01 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Hide the image clientside when the player says whatever the word is. If you're interested in learning to script, Jer's guide is a good starting place. I know people have asked this exact same question in the past on these forums as well, so maybe try searching.

Otherwise if you post the code you have so far I'm sure we could guide you in the right direction. These forums are intended more for scripting help and less for script requests, so please try to keep that in mind.
__________________
Reply With Quote
  #3  
Old 08-24-2013, 02:58 AM
baseman101 baseman101 is offline
Scripter
baseman101's Avatar
Join Date: Nov 2012
Location: Purcellville, VA
Posts: 76
baseman101 will become famous soon enough
I'd suggest you learn how to script, but here's a small code snippet.
Graal Script Code:
//#CLIENTSIDE
function onPlayerChats() {
  if(
player.chat == "myPassword") {
    
this.hide();
  }

This works if you want to hide the NPC from view.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 08:31 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.