mirror of
https://github.com/ciribob/DCS-CTLD.git
synced 2025-08-15 06:17:22 +00:00
Added new Functions - Release 1.36
Added ctld.loadTransport Mission Editor Function Added ctld.countDroppedGroupsInZone(_zone, _blueFlag, _redFlag) Added ctld.countDroppedUnitsInZone(_zone, _blueFlag, _redFlag)
This commit is contained in:
16
README.md
16
README.md
@@ -244,6 +244,12 @@ You can force a unit to unload its units (as long as its on the ground) by calli
|
||||
|
||||
```lua
|
||||
ctld.unloadTransport("helicargo1")
|
||||
|
||||
###Load Transport
|
||||
You can force a unit to load its units (as long as its on the ground) by calling this function.
|
||||
|
||||
```lua
|
||||
ctld.loadTransport("helicargo1")
|
||||
```
|
||||
|
||||
###Auto Unload Transport in Proximity to Enemies
|
||||
@@ -274,6 +280,16 @@ Where ```"extractzone1"``` is the name of a Trigger Zone added using the mission
|
||||
|
||||
The settings for smoke are: Green = 0 , Red = 1, White = 2, Orange = 3, Blue = 4, NO SMOKE = -1
|
||||
|
||||
####Count Extractable UNITS in zone
|
||||
You can count the number of extractable UNITS in a zone using: ```ctld.countDroppedUnitsInZone(_zone, _blueFlag, _redFlag)``` as a DO SCRIPT of a CONTINUOUS TRIGGER.
|
||||
|
||||
Where ```_zone``` is the zone name, ```_blueFlag``` is the flag to store the count of Blue units in and ```_redFlag``` is the flag to store the count of red units in
|
||||
|
||||
####Count Extractable GROUPS in zone
|
||||
You can count the number of extractable GROUPS in a zone using: ```ctld.countDroppedGroupsInZone(_zone, _blueFlag, _redFlag)``` as a DO SCRIPT of a CONTINUOUS TRIGGER.
|
||||
|
||||
Where ```_zone``` is the zone name, ```_blueFlag``` is the flag to store the count of Blue groups in and ```_redFlag``` is the flag to store the count of red groups in
|
||||
|
||||
####Create Crate Drop Zone
|
||||
A crate drop zone is a zone where the number of crates in a zone in counted every 5 seconds and the current amount stored in a flag specified by the script.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user