Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-04-2005, 12:12 AM
RykuZ RykuZ is offline
I's a gud righter!
Join Date: May 2005
Posts: 33
RykuZ is on a distinguished road
help me

how do you put light effects into the thing... not like lamp things that are the regular one thats like a circle... but the door kind and the window kind that people have... and also how do you make it so when people say something like "beer" the beer pops up and stuff
Reply With Quote
  #2  
Old 09-04-2005, 01:47 AM
Luciano Luciano is offline
Registered User
Luciano's Avatar
Join Date: Jan 2005
Posts: 320
Luciano is on a distinguished road
With NPCs.
Reply With Quote
  #3  
Old 09-04-2005, 03:54 AM
Torankusu_2002 Torankusu_2002 is offline
'been round.
Torankusu_2002's Avatar
Join Date: Nov 2001
Posts: 1,246
Torankusu_2002 is on a distinguished road
commands.rtf

study it.
__________________
torankusu's
Reply With Quote
  #4  
Old 11-05-2005, 09:07 AM
SyLaTAC SyLaTAC is offline
<3
Join Date: Mar 2005
Location: Irwin Idaho (look it up you wont find it that easy!)
Posts: 64
SyLaTAC is on a distinguished road
Send a message via AIM to SyLaTAC
uhm the img is in an npc it just wont show up X.x
Reply With Quote
  #5  
Old 11-05-2005, 06:35 PM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
This is more of a scripting oriented thread.
Moved.
Reply With Quote
  #6  
Old 11-06-2005, 01:32 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Quote:
Originally Posted by Luciano
With NPCs.
<3
anyway you could use setcoloreffect, like in the predefined NPC
and for the beer:
NPC Code:
if(playerenters){
hidelocal;
}
if(playerchats&&strequals(#c,i wanna beer)){
show;
}


free beer, you do the rest if you want it to cost something or do something
Reply With Quote
  #7  
Old 11-06-2005, 01:36 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
There needs to be a list of people globally banned from NPC Control..

HTML Code:
setimgpart image, x, y, width, height;
This only shows part of the image.
It takes out part of the image at x,y in a rectangle of 'width' and 'height'.
Reply With Quote
  #8  
Old 11-06-2005, 01:46 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by excaliber7388
NPC Code:
if(playerenters){
hidelocal;
}
if(playerchats&&strequals(#c,i wanna beer)){
show;
}

Do not give bad advice. It's a forum rule.
Reply With Quote
Reply


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 03:26 PM.


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