Paratroopers

Платное Paratroopers 5.7.8

Для разработчиков​

Чтобы вызвать его из другого плагина, используйте метод CallParatroopers().

  1. Передайте позицию Vector3, чтобы отправить событие «Десантник»,
  2. Установите количество десантников для развертывания.
  3. Задайте имя комплекта. ПРИМЕЧАНИЕ: установите значение null, чтобы использовать случайные комплекты.
  4. Если вы хотите изменить уровень здоровья, установите для него значение больше 0.
  5. Установите значение true или false для использования случайных комплектов. ПРИМЕЧАНИЕ. Если вы не указываете имя комплекта, установите для этой части значение true.
Некоторые примеры вызовов из другого плагина:
//API CALL
JSON:
/*
* Vector3 jumperPosition - location to deploy paratroopers
* JumpCount - how many paratroopers to deploy
* jumperKit - If you want to call your own kit null will give a preset NPC loadlout
* botHealth - Health to spawn paratroopers with
* randomKit - bool for using a random kit set to true no kit is defined use preset set to false if using your own kit
* drop - default is set to false, true will allow for a Supply Drop/Hackable Crate and Bradley
*/
CallParatroopers(Vector3 jumperPosition, int jumperCount, string jumperKit, int botHealth, bool randomKit, bool drop =  false);

//Setup using a kit, for 10 paratroopers with 1200 health
Paratroopers?.Call($"CallParatroopers", coordinates, 10, "kit1name", 1200, false, false);

//Setup using the default kits setup in the config, for 10 paratroopers using the default health in config
Paratroopers?.Call($"CallParatroopers", coordinates, 10, null, 0, true, false);