Commit afe5a700 authored by Ryan Grupp's avatar Ryan Grupp
Browse files

Call LZ script instead of spawning it

parent 764149bd
......@@ -13,7 +13,7 @@ To start, download this repo and move the `tsm` folder into the root of your mis
Then open or create a `description.ext` file (you should already have one if you're using framework) and add the following at the bottom:
```cpp
```
#include "tsm\_core_\xeh.hpp"
```
......@@ -23,7 +23,7 @@ __This step is only necessary if you plan to use a module that has a global conf
Next open your `description.ext` file, and add the following line under the tsm include:
```cpp
```
#include "tsm_configuration.hpp"
```
......@@ -46,6 +46,8 @@ You're now free to make edits to this file however you wish. __Note: Do not edit
The \_core\_ module is the heart of TSM, there is no configuration involved, nor should the user touch it. It must exist for TSM to work.
<br>
<br>
### Module - Ambient Sounds
......@@ -61,6 +63,9 @@ Ambient Sounds plays audio in the background to make your players more _immersed
| gapTime | Array | The time between a sound stopping, and a new on playing _(in seconds)_. An array of 1 or 2 elements, both integers.<ul><li>If only one element is provided, that value will be used.</li><li>If two elements are provided, a random number will be generated between the two values.</li></ul> |
| mode | Integer | Defines the mode of selecting the next sound file:<ul><li>__0__ - Random</li><li>__1__ - Sequential</li></ul> |
<br>
<br>
### Module - Car Radio
Car Radio allows a player in a vehicle _(doesn't actually need to be a car)_ to use ACE interact to play a song on the radio (or stop a playing one). _Plays in the music audio channel._
......@@ -74,7 +79,6 @@ Car Radio allows a player in a vehicle _(doesn't actually need to be a car)_ to
> * __Songs__ <sub>_(array)_</sub>
> * A list of classnames from CfgMusic _(config or mission config)_ of songs to play.
>
> Ex.
> ```sqf
> [
> this,
......@@ -88,6 +92,12 @@ Car Radio allows a player in a vehicle _(doesn't actually need to be a car)_ to
### Module - Components
<br>
<br>
### Module - LZ Select
<br>
<br>
### Module - Static Radio
\ No newline at end of file
......@@ -15,4 +15,4 @@ _lzData params ['_lzScript', ''];
['tsm_lz_select_transitStarted', _this] call CBA_fnc_globalEvent;
_this spawn _lzScript;
\ No newline at end of file
_this call _lzScript;
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment