mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Sitting documentation fix (#5737)
* sitting framework - wrong group * Fixed header details. Fixed Confige Values details.
This commit is contained in:
parent
dcc934202b
commit
1f11a0a211
@ -1,11 +1,11 @@
|
|||||||
---
|
---
|
||||||
layout: wiki
|
layout: wiki
|
||||||
title: Sitting Framework
|
title: Sitting Framework
|
||||||
description: Explains how to set-up sitting objects (eg. chairs) with ACE3 sitting system.
|
description: Explains how to set-up sitting objects (eg. chairs) with ACEX sitting system.
|
||||||
group: framework
|
group: frameworkx
|
||||||
order: 5
|
order: 5
|
||||||
parent: wiki
|
parent: wiki
|
||||||
mod: ace
|
mod: acex
|
||||||
version:
|
version:
|
||||||
major: 3
|
major: 3
|
||||||
minor: 2
|
minor: 2
|
||||||
@ -28,9 +28,9 @@ Object must have Extended Event Handler (XEH) enabled (this is not the case for
|
|||||||
```cpp
|
```cpp
|
||||||
class CfgVehicles {
|
class CfgVehicles {
|
||||||
class MyChair {
|
class MyChair {
|
||||||
ace_sitting_canSit = 1; // Enable sitting
|
acex_sitting_canSit = 1; // Enable sitting
|
||||||
ace_sitting_sitDirection = 180; // Direction relative to object
|
acex_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)
|
acex_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)
|
XEH_ENABLED; // Enable XEH (only necessary if XEH is not yet enabled for this class or the one this inherits from)
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user