Page 1 of 1

SittingMods

PostPosted: Sat Aug 30, 2008 6:55 am
by Frits
I have a problem to let the avatar sit down. I have done every thing from the Wiki, made a seat (2 units high, object center at bottom face and local y pointing away from the avatar), surround it with a logic region and added the script.
The region is clickable but the avatar does not sit down.

Anyone an idea what goes wrong?

Regards,
Frits

Re: SittingMods

PostPosted: Sat Aug 30, 2008 10:36 am
by boblishman
a screenshot of your alcscript (and your model) would help us to identify your problem ...

Re: SittingMods

PostPosted: Sun Aug 31, 2008 3:47 am
by Frits
Here you go...

Image

Topview, selected is object to sit on (not visible in game), box around it is region.

Image

Sideview (same as above)

Image

And the script.

Regards,
Frits

Re: SittingMods

PostPosted: Sun Aug 31, 2008 4:03 am
by D'Lanor
Miscflag 7 does not exists. Did you try the default flag 1?

Re: SittingMods

PostPosted: Sun Aug 31, 2008 8:09 am
by Frits
Yes, I tried the default flag = 1, did not work either.
Because I rotated the seat 45 degrees, I thought maybe the approach is wrong.
So, according to the Wiki SittingMods:
Approach from front = 1,
Approach from left side = 2,
Approach from right side = 4,
To approach from more then one side, simply add the flags together 1 + 2 + 4 = 7.

Regards,
Frits

Re: SittingMods

PostPosted: Sun Aug 31, 2008 8:23 am
by boblishman
you alcscript indents are not as shown in the wiki ... recheck them and use SPACES, (not the tab button)

(the error starts at "- cursor")

Re: SittingMods

PostPosted: Sun Aug 31, 2008 8:55 am
by Frits
I changed the tabs into spaces, made the indents like it should be, rechecked it and rechecked it again and I even set the miscflag to 1, but no luck, avatar keeps standing. The cursor changes when I point at the seat, but when I click nothing happens.

Btw the tabs are generated automaticaly in the Blender Editor, how can I set them off? I can get them only as low as 2 positions.

Regards,
Frits

Re: SittingMods

PostPosted: Sun Aug 31, 2008 9:08 am
by boblishman
just checking ... you ARE using Plugin version 1.4 or above ? ... (sitting mods are not included in the plugin version 1.3.x or before)

Re: SittingMods

PostPosted: Mon Sep 01, 2008 2:00 am
by Frits
I'm using the 1.5.0 version.

EDIT: Problem solved! After lookig at the script several times, I found the course of this behaviour.
......
conditions:
- type: activator
activators: I forgot the last s :oops:
......
Sorry for the annoyance.

Regards,
Frits