Garry's Mod
Недостатньо оцінок
Npc Random Spawning
   
Нагородити
До улюбленого
В улюблених
Прибрати
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Scenic
Розмір файлу
Додано
Оновлено
9.236 KB
26 листоп. 2024 о 10:11
30 листоп. 2024 о 13:16

Підпишіться, аби завантажити
Npc Random Spawning

Опис
Description:
Addon can spawn npc in random position npc that you chose also you can choose some weapon for npc for example: every 2 seconds with limit amount 100
SUPPORTING IS TO ALL NPCS

Interface:
You can open menu with clicking on the english keyboard "H"

Commands:

spawn_start npcType maxAmountNpc seconds weapon model - It starts spawning
npcType - It is class of a npc
maxAmountNpc - It is the max number copies of the npc
seconds - It is the seconds between spawning npc
weapon - It is the weapon of npc (It's not required)
model - It is the model of npc (It's not required)

spawn_stop - It stops spawning
open_spawn_menu - it opens menu
Коментарів: 2
Stagger Lee 18 січ. о 2:15 
they keep spawning outside of the map
Iridium77 12 груд. 2024 о 11:54 
Плохо работает на больших картах с рельфом. Так же хотелось бы, чтобы меню было в tool menu, а не отдельное меню.

Думаю для спавна НПС лучше использовать nav сетку, а так аддон не плохой, то есть сама идея классная :steamthumbsup: