Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.
/ AngryAi Public archive

NPC and event management system

License

Notifications You must be signed in to change notification settings

swkeep/AngryAi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AngryAi

Bunch of predefined NPC behavior functions and npc/event management system

**

It's not optimized by any mean. i made it to just test something in my server. event template

{
    name = 'event name',
    timings = {
        activeEventDuration = 60000,
        spawnCooldown = 2000,
        chanceToTrigger = 50,
        maxSessions = 2
    },
    isTargetDead = function()
        return isTargetedPedDead(PlayerPedId())
    end,
    customDistance = function(distance, ped, info)
    end,
    Zone = function()
        return BoxZone:Create()
    end,
    eventBehavior = function()
        return ped, pedveh, playerPed
    end
}

About

NPC and event management system

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages