This little snipet of code placed in the 'onused' event of a Couch ou Bench allow 2 creatures (both PC and NPC) to seat beside each other. No further work is needed.
Posted by Hanzo666 at 2010-11-07 15:05:04 Voted 10.00 on 11/07/10
Best out there for a 2 person sitting script!
Posted by NineCoronas at 2009-05-02 01:33:08 Voted 10.00 on 05/02/09
This script is extremely useful and pretty much, a work of art. _________________________ "A dagger in the night is worth a thousand swords at dawn..."
Posted by helvene at 2006-04-19 17:55:22 Voted 10.00 on 04/19/06
Posted by Raven2 ( 216.178.xxx.xxx ) at 2005-01-30 12:21:00
When attaching this to a couch in the pallate then placeing them I found that some but not all of the couches would cause the person to sit at an odd angle . it may have been the ones that had to be turned for final placement I'm not sure.
Any fix for this problem?
It seems to work fine for the small wooded benches though turned or not
Posted by Raven2 ( 216.178.xxx.xxx ) at 2005-01-30 12:21:00
When attaching this to a couch in the pallate then placeing them I found that some but not all of the couches would cause the person to sit at an odd angle . it may have been the ones that had to be turned for final placement I'm not sure.
Any fix for this problem?
It seems to work fine for the small wooded benches though turned or not
This is a compilation of the old system into a single score. There were 11 that made this score of 8.28 then rounded to 8.
Posted by semajack ( ..xxx.xxx ) at 2003-10-28 15:49:00
Hello there. I would also like to have this remake the pillows if a person gets up or say leaves the mod. I need to find a fix for chairs that are broken when a player loggs out of the game while sitting. Its broken because the game still thinks the player is sitting and wont let ne1 else sit in that spot, even the player that broke it.
Thnx for this good script btw and if ne1 has the fix I'm looking for pls email it to me. Thanks agian,
semajack
Posted by The Questioner ( ..xxx.xxx ) at 2003-07-07 08:25:00
Hmm... how bout adding a script that'll get rid of those invisible objects once the player gets up? You know, just an addon or edit or something. That'd be great and lag the module less for those of us trying to make PvP Arenas ;)
Posted by Ragna ( ..xxx.xxx ) at 2003-06-25 08:04:00
continued...even when i right click to save it
Posted by Ragna ( ..xxx.xxx ) at 2003-06-25 08:03:00
the download is a text document only, could you fix that?
Posted by Khaly ( ..xxx.xxx ) at 2003-06-15 04:03:00
Indeed,
Placing manualy 2 invisible sittable object was a bit "heavy" to my taste, expecialy if you have 200 of such sittable objects to lay around on your mod...
Here is a fast coded lazy trick (sure it can be improved, i'm open to proposals)
As an area builder, the ONLY thing you have to do is to put this script in the "onused" event of a bench or couch.
I thought the comments where self explainatory but then, I'm not that good at english...
Basicaly what it does :
-on first use of the item it creates and attach 2 "pillows" (invisible, not selectable, not destroyable)
-then, and for all following uses, it checks for the nearest available attached pillow and force the player to sit on it.
K.
Posted by Veldin ( ..xxx.xxx ) at 2003-06-12 18:02:00
Actually Jake this script is a bit more advanced then just putting two invisible placeables on a bench.
It looks like you attach this script to any bench style placeable and then when it is "used" it calculated the size of the placeable and creates 2 invisible objects (Pillows) that are then used by the pc's/npc's.
The only thing I don't see is the invisible objects being destroyed once done but it should not matter because the script looks like it checks to see if the invisible object exists before trying to create them so you don't get a stack of "pillows".
All in all it looks pretty cool.
Veldin
Posted by Jake ( ..xxx.xxx ) at 2003-06-12 17:52:00
Does this use the "Invisible Object" placeable?
Jake
You must be Logged In to post comments in this section.