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
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
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...