Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Seeking Door Script and Post Script

0 views
Skip to first unread message

j...@jo.com

unread,
Jul 8, 2002, 4:37:01 AM7/8/02
to
i am building a NWN module but i am seeking some help in finding a script or
two.

i need a script that in transition of a door that once you appear it shuts
the door behind you. doesn't lock it but shuts it.

another script i seek is one that when you use the POST waypoint that the
NPC that uses that POST goes back to it AND turns in orientation that i wish

if anyone can help me out please email me.! thanks


Nick

unread,
Jul 8, 2002, 5:19:34 PM7/8/02
to
In article <agbicf$jdm$1...@feed.centurytel.net>, j...@jo.com says...

> i am building a NWN module but i am seeking some help in finding a script or
> two.
>
> i need a script that in transition of a door that once you appear it shuts
> the door behind you. doesn't lock it but shuts it.
>

Hmm. My original thought was to go for:

DoDoorAction(oTargetDoor, nDoorAction);

But there doesn't seem to be a constant value for closing a door -
opening, unlocking, bashing are all there, but not closing again.

What's it for? Would it be possible to have an NPC next to the door that
would do

ActionCloseDoor(oDoor);


> another script i seek is one that when you use the POST waypoint that the
> NPC that uses that POST goes back to it AND turns in orientation that i wish

Not sure what you mean - surely if the NPC is using it, he's stood next
to it anyway?

--

Nick

Discord

unread,
Jul 9, 2002, 1:42:25 PM7/9/02
to

"Nick" <nick_...@hotmail.com> wrote in message
news:MPG.1794121ea...@news.ntlworld.com...

> In article <agbicf$jdm$1...@feed.centurytel.net>, j...@jo.com says...
> > i am building a NWN module but i am seeking some help in finding a
script or
> > two.
> >
> > i need a script that in transition of a door that once you appear it
shuts
> > the door behind you. doesn't lock it but shuts it.
> >
>
> Hmm. My original thought was to go for:
>
> DoDoorAction(oTargetDoor, nDoorAction);
>
> But there doesn't seem to be a constant value for closing a door -
> opening, unlocking, bashing are all there, but not closing again.
>
> What's it for? Would it be possible to have an NPC next to the door that
> would do
>
> ActionCloseDoor(oDoor);

You can actually call this from the door's OnSpawn script and it will shut
the door when the player loads that level.

ActionCloseDoor(OBJECT_SELF);

I'm at work now so I can't test it but this is the general idea...

0 new messages