How to check who sits on a certain chair?

Post » Fri May 04, 2012 11:17 am

I'm looking for a method to check who sits on a certain chair. Preferably something only triggering when someone starts to sit down on it. I've tried adding a script to the chair and use an OnActivate block, but this only works for the player (same for the OnActivate Event Handler). Any suggestions how to make it work for npcs? Thanks.
User avatar
Lloyd Muldowney
 
Posts: 3497
Joined: Wed May 23, 2007 2:08 pm

Post » Fri May 04, 2012 8:36 am

Not very elegant, but one way might be to use a very small trigger zone which detects who is triggering it. Perhaps one of the others will think of a better method.
User avatar
emma sweeney
 
Posts: 3396
Joined: Fri Sep 22, 2006 7:02 pm

Post » Fri May 04, 2012 4:38 am

I added a trigger zone to the mesh and it does indeed work. Thanks.
User avatar
Kit Marsden
 
Posts: 3467
Joined: Thu Jul 19, 2007 2:19 pm


Return to IV - Oblivion