Skip to content

Instantly share code, notes, and snippets.

@marceldev89
marceldev89 / a3update.py
Last active April 21, 2024 11:21
Arma 3 Linux server and mod updater (workshop)
#!/usr/bin/python3
# MIT License
#
# Copyright (c) 2017 Marcel de Vries
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
--MIST 2.0 required
--Following trigger zones need to be placed in the ME:
--1: Zone called 'airfield1', which defines location of airfield 1
--2: Zone called 'airfield2', which defines location of airfield 2
--3: Zone called 'airfield2', which defines location of airfield 3
--4: Zone called 'airlanehub1', which defines the entry/exit point of the airfield the planes are set to land or takeoff
--Do not use numbers (f.e. "11","151") for naming of groups in the ME, these names are used by this script
do
--EDIT BELOW
intervall = math.random(300,900) --random repeater intervall between (A and B) in seconds