diff --git a/GRP - Group Commands/GRP-504 - Pinpoint Strike Waypooints and Tasking/pack.ps1 b/GRP - Group Commands/GRP-504 - Pinpoint Strike Waypooints and Tasking/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/GRP - Group Commands/GRP-504 - Pinpoint Strike Waypooints and Tasking/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/GRP - Group Commands/GRP-504 - Pinpoint Strike Waypooints and Tasking/unpack.ps1 b/GRP - Group Commands/GRP-504 - Pinpoint Strike Waypooints and Tasking/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/GRP - Group Commands/GRP-504 - Pinpoint Strike Waypooints and Tasking/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/GRP - Group Commands/GRP-510 - Task Follow/pack.ps1 b/GRP - Group Commands/GRP-510 - Task Follow/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/GRP - Group Commands/GRP-510 - Task Follow/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/GRP - Group Commands/GRP-510 - Task Follow/unpack.ps1 b/GRP - Group Commands/GRP-510 - Task Follow/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/GRP - Group Commands/GRP-510 - Task Follow/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/GRP - Group Commands/GRP-600 - Respawn/GRP-600 - Respawn.lua b/GRP - Group Commands/GRP-600 - Respawn/GRP-600 - Respawn.lua new file mode 100644 index 0000000000..d1fd678c21 --- /dev/null +++ b/GRP - Group Commands/GRP-600 - Respawn/GRP-600 - Respawn.lua @@ -0,0 +1,10 @@ +--- This makes a vehicle respawn itself when the mission starts. +-- Name: GRP-600 - Respawn +-- Author: FlightControl +-- Date Created: 01 Mar 2018 + +-- Find the Vehicle and create a GROUP object. +Vehicle = GROUP:FindByName( "Vehicle" ) + +-- Respawn the vehicle. +Vehicle:Respawn() \ No newline at end of file diff --git a/GRP - Group Commands/GRP-600 - Respawn/GRP-600 - Respawn.miz b/GRP - Group Commands/GRP-600 - Respawn/GRP-600 - Respawn.miz new file mode 100644 index 0000000000..15cb0ecb3e Binary files /dev/null and b/GRP - Group Commands/GRP-600 - Respawn/GRP-600 - Respawn.miz differ diff --git a/GRP - Group Commands/GRP-600 - Respawn/pack.ps1 b/GRP - Group Commands/GRP-600 - Respawn/pack.ps1 new file mode 100644 index 0000000000..bbac66e7c1 --- /dev/null +++ b/GRP - Group Commands/GRP-600 - Respawn/pack.ps1 @@ -0,0 +1,10 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf + +$dir +$file + +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/GRP - Group Commands/GRP-600 - Respawn/unpack.ps1 b/GRP - Group Commands/GRP-600 - Respawn/unpack.ps1 new file mode 100644 index 0000000000..c208a31858 --- /dev/null +++ b/GRP - Group Commands/GRP-600 - Respawn/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" *