Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   help me (https://forums.graalonline.com/forums/showthread.php?t=60977)

RykuZ 09-04-2005 12:12 AM

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

Luciano 09-04-2005 01:47 AM

With NPCs.

Torankusu_2002 09-04-2005 03:54 AM

commands.rtf

study it.

SyLaTAC 11-05-2005 09:07 AM

uhm the img is in an npc it just wont show up X.x

haunter 11-05-2005 06:35 PM

This is more of a scripting oriented thread.
Moved.

excaliber7388 11-06-2005 01:32 AM

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

Yen 11-06-2005 01:36 AM

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'.

Skyld 11-06-2005 01:46 AM

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.


All times are GMT +2. The time now is 11:50 AM.

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