Forum Mod Bakery Docs

What is the UsePedGroup(); function in a mission file?

Posted in Support
Please login to contribute to the conversation.
eg: UsePedGroup(0); on mission 1, level 1. Can someone explain, Thx!
[deleted user]
7 yrs ago (Statistics)
Basically in leveli.mfk, the npcs are grouped to ped groups for specific regions. Like ped group 7 in level 1 is for the power plant.
[deleted user]
7 yrs ago (Statistics)
Essentially, if you look in leveli.mfk, you'll see different 'ped groups' which are generic NPCs grouped together. What the SetPedGroup(); command does is determine which one is used when your mission first starts, I believe.