Talk:PositionCell

From the Oblivion ConstructionSet Wiki
Revision as of 14:25, 12 September 2006 by imported>Wildman (One way doors)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I needed some one way load doors for the player. The standard door markers require 2 doors and I was getting NPC's showing up in areas from areas they don't even go. This is an example of a script to put on a door, effectively making it a morrowind stlye load door. Keeps the NPC's out.


 begin OnActivate 
   if IsActionRef player == 1
     player.positioncell -260, 16, 100, 0, ChorrolHouseForSale
   endif
 end