mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
65df821e2b
* Update documentation guidelines * Add version info part 1 * Add version info part 2 * Add removed in version to frontmatter and tag testmissions as removed * Add version info part 3 * Seaparate ACE3 and ACEX Features/Framework menus, Add ACEX Headless documentation * Add ACEX support to extract_dependencies.py * Merge useful-functions into frameworks * Move class-names to main menu * Prettify class-names table titles * Fix table of contents on documentation guidelines and tips * Merge mission-tools into frameworks * Merge modules into frameworks * Rename to Frameworks (plural) * Fix capitalization in class-names * Improve wiki menu positioning * Add 'mod' to documentation guidelines * Update frameworks sections description for new content * Update wiki menu descriptions * Fix class-names 4 digit versions * More places for descriptions * Include documentation in PRs if applicable note * Add short ACE3 and ACEX description page, outlining the difference
61 lines
1.8 KiB
Markdown
61 lines
1.8 KiB
Markdown
---
|
|
layout: wiki
|
|
title: Respawn Framework
|
|
description: Explains how to set-up the rally points.
|
|
group: framework
|
|
order: 5
|
|
parent: wiki
|
|
mod: ace
|
|
version:
|
|
major: 3
|
|
minor: 0
|
|
patch: 0
|
|
---
|
|
|
|
## 1. Overview
|
|
|
|
Rallypoints is a two way teleport system between two positions. Usually this is used to transport units that have died during a mission back to the front line. The rally points are portrayed by flagpoles (West, East and Independant flagpoles are available) that have a "Base" and an "Exit" version.
|
|
|
|
|
|
## 2. Mission Setup
|
|
|
|
Rallypoints can be found in the editor under: "Empty" >> "ACE Respawn"
|
|
|
|
**Class Names:**
|
|
|
|
- `ACE_Rallypoint_West`, `ACE_Rallypoint_West_Base`
|
|
- `ACE_Rallypoint_East`, `ACE_Rallypoint_East_Base`
|
|
- `ACE_Rallypoint_Independent`, `ACE_Rallypoint_Independent_Base`
|
|
|
|
Using the Interaction Menu on a rally point offers the ability to teleport from one flagpole to the other flagpole and vice versa.
|
|
|
|
*Note: You can't place more than one rallypoint of the same type.*
|
|
|
|
All units synced to the "Rallypoint System" are able to move the rallypoint.
|
|
|
|
<div class="panel callout">
|
|
<h5>Note:</h5>
|
|
<p>It's important to mention that this doesn't work for player who join during a mission (JIP = Join in progress). That's something we can't change because that's the way Bohemia Interactive has implemented their module framework.</p>
|
|
</div>
|
|
|
|
To enable other units to move them reference [Scripting](#allow-units-to-move-rally-points) section.
|
|
|
|
|
|
## 3. Scripting
|
|
|
|
### 3.1 Change Flag Texture
|
|
|
|
To change the texture of the flag use the following line on the rally point object:
|
|
|
|
```js
|
|
this setFlagTexture 'path\to\my\texture\my_awesome_clan_logo.paa';
|
|
```
|
|
|
|
### 3.2 Allow Units to Move Rally Points
|
|
|
|
To enable other units to move rally points, such as JIP units, use the following line on the units:
|
|
|
|
```js
|
|
_unit setVariable ["ACE_canMoveRallypoint", true, true];
|
|
```
|