mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
903 B
903 B
layout | title | description | group | order | parent |
---|---|---|---|---|---|
wiki | Sitting Framework | Explains how to set-up sitting objects (eg. chairs) with ACE3 sitting system. | framework | 5 | wiki |
1. Requirements
Object must inherit from ThingX
or any of its sub-classes.
Object must have Extended Event Handler (XEH) enabled (this is not the case for the majority of vanilla objects in ThingX
class), configuration entry on how to do that is shown below.
2. Config Values
class CfgVehicles {
class MyChair {
ace_sitting_canSit = 1; // Enable sitting
ace_sitting_sitDirection = 180; // Direction relative to object
ace_sitting_sitPosition[] = {0, -0.1, -0.45}; // Position relative to object (may behave weird with certain objects)
XEH_ENABLED; // Enable XEH (only necessary if XEH is not yet enabled for this class or the one this inherits from)
};
};