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-11-2001, 04:06 AM
RaVeN_629 RaVeN_629 is offline
Registered User
Join Date: Aug 2001
Location: Wisconsin
Posts: 267
RaVeN_629 is on a distinguished road
Player House Help

I just purchased a player house and now i need some help with the scripting

Does anyone have the door scripts for the player house i will start with this???
__________________
- Raven
Reply With Quote
  #2  
Old 09-11-2001, 08:57 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
Re: Player House Help

Quote:
Originally posted by RaVeN_629
I just purchased a player house and now i need some help with the scripting

Does anyone have the door scripts for the player house i will start with this???
you have to script playerhouses?
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #3  
Old 09-11-2001, 08:59 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
I hope this will awnser all your questions

Quote:
Originally posted by Stefan
Yesterday all playerhouses have been updated
to a new script version. Main features:
- automatic rent system (say show rent/pay rent)
- all keys have a number so you can use it for assigning
ownership to special rooms (and it works after npcserver
restart since the keys are saved in the house-control npc)
- a new class for playerhouse doors which makes the
thing simplier, the script looks like this:
NPC Code:

if (created) {
this.key = 4;
setstring this.control,House-Control1;
this.warpx = 8;
this.warpy = 13;
}
join housedoors;


- new command: 'give ownership to "accountname"'

Because the rent thing is simplier now (because it doesn't
need admins to transfer the money etc.) we can add more
houses, possibly in the underground lake
__________________
Thanks,
-KJL
Reply With Quote
  #4  
Old 09-11-2001, 09:00 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
thanks man ^_^
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #5  
Old 09-11-2001, 10:52 AM
RaVeN_629 RaVeN_629 is offline
Registered User
Join Date: Aug 2001
Location: Wisconsin
Posts: 267
RaVeN_629 is on a distinguished road
THX ALOT!!!!!
__________________
- Raven
Reply With Quote
  #6  
Old 09-12-2001, 03:31 AM
MrCoolDude MrCoolDude is offline
Registered User
Join Date: Jul 2001
Posts: 74
MrCoolDude is on a distinguished road
Is that the only script you need for it to work?
__________________
Mista Neat
Reply With Quote
  #7  
Old 09-12-2001, 07:17 AM
Enigma_GP6 Enigma_GP6 is offline
Banned
Join Date: Jul 2001
Location: Who?
Posts: 261
Enigma_GP6 is on a distinguished road
Send a message via ICQ to Enigma_GP6 Send a message via AIM to Enigma_GP6
//This is a door for people you hate.
//NPC Made by Rebel95
If (playertouchsme){
hide .5;
sleep .5;
show;
set killzero;
}
if (killzero||timeout){
this.killzero=15;
if(this.killzero>0){
playerap--;
playerrupees--;
playerswordpower--;
playerhearts--;
hurt 5;
sleep .5;
timeout=.05;
}
}


-Rebel95
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 04:54 AM.


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