Better Npc

 Better Npc 1.3.2

Hooks
object CanAirDropSpawnNpc(SupplyDrop supplyDrop)
– It is called before an NPC appearance to guard an AirDrop. The returning of a non-zero value stops an NPC appearance
object CanCh47SpawnNpc(HackableLockedCrate crate) – It is called before an NPC appearance to guard a locked chinook crate. The returning of a non-zero value stops an NPC appearance
object CanBradleySpawnNpc(BradleyAPC bradley) – It is called before an NPC appearance to guard the boxes from crushed Bradley. The returning of a non-zero value stops an NPC appearance
object CanHelicopterSpawnNpc(BaseHelicopter helicopter) – It is called before an NPC appearance to guard the crates from crushed patrol helicopter. The returning of a non-zero value stops an NPC appearance

API
void DestroyController(string name)
– It destroys the place of appearance NPC with the name {name}
void CreateController(string name)
– It creates the place of appearance NPC with the name {name}
These APIs can be used with standard monuments, custom monuments (NPC locations) and roads. The name of this monument is in standard monuments {name}. It is the name of the file in the Custom and Road folder in custom monuments and roads
Назад
Сверху Снизу