Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Player House NPCs (https://forums.graalonline.com/forums/showthread.php?t=19944)

WoRlaNN2k 12-30-2001 08:23 AM

Player House NPCs
 
I think i've asked this before, but... Can anyone give me the playerhouse npcs? I don't care if Stefan will put them in my house for me, i need them so i can make npcs based off of them.

Faheria_LAT1 12-30-2001 08:28 AM

you mean the keys, doors and money chest npcs? so easy to script..

WoRlaNN2k 12-30-2001 08:38 AM

yes that is what i mean... they may be easy to script, but i don't know how to script them. so could someone give them to me please?

Kumada 12-30-2001 08:43 AM

The chest is
NPC Code:

if (created)
setstring this.control,House-Control2;
join housechests;



:D

WoRlaNN2k 12-30-2001 08:46 AM

let me guess.... the house scripts run on the NPC server?

Python523 12-30-2001 11:14 AM

Quote:

Originally posted by WoRlaNN2k
let me guess.... the house scripts run on the NPC server?
Yea, the chests and locks are simple and they just use join to call the script of the stuff

12-30-2001 03:08 PM

Lol, theses scripts are way to easy to make... I made a block script in like a half houre about a monthe ago.... *doesnt want to show the script, might get stolen...*

WoRlaNN2k 12-30-2001 06:43 PM

well does anyone know the code itself? instead of what calls it?

kyle0654 12-31-2001 12:09 AM

You don't need the script unless you could make it yourself.

That may sound bad, and you're probably thinking, "How will I ever learn if I never look at any scripts?" Think about it though. Pretty much anything you could want to make can be done using basic NPC scripting commands. These kinds of scripts won't necessarily be short or run efficiently, but they can be made.

That's when you ask for a script, after you've thought about how to make it, tried to make it, and succeeded or failed (and if you failed, asked someone for help).


All times are GMT +2. The time now is 08:45 AM.

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