Seats
NPC can be made to sit down only on these actors
Prerequisites
Properties
-
Events
- Tag
-
Seat
- sitPoint
Used by ScriptedPawns to locate the seat
A vector defining where in relation to the actor's origin an NPC will sit
How to
- Place a
Seat
in your map from theDecoration > DeusExDecoration > Furniture > Seat
section. - Open its properties and set
Events > Tag
toMySeat
. - Place a
ScriptedPawn
in your map and open its properties. - Set the
Orders > Orders
toSitting
. - Set the
Orders > OrderTag
toMyChair
.
Note
For an NPC to use a chair, their need to be able to "find" it. Make sure there is enoug room around the chair for the NPC to move there, and that there is a clear path to it.
Making custom seats
Apart from subclassing a seat and assigning a custom mesh, you can also trick NPCs to sit on BSP geometry.
- Add a special brush to your map, set it to
Non-Solid
. It should be the same height as a seat. - Place a seat inside it and open its properties.
- Set the
Advanced > bHidden
toTrue
. - Set the
Movement > Physics
toPHYS_None
.