1
Modding Questions/Help / Re: How to mod Act.img
« on: July 10, 2024, 07:44:01 AM »
You use marcd's tool.
News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..
Messages | Topics | Attachments
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
VehicleIsInAreaXYZ(vehicle, x, y, z, radius, 0)
while true do
if AreaGetVisible() == 59 and not ConstantinosSpawned then
X, Y, Z = PlayerGetPosXYZ()
Const = PedCreateXYZ(70, X, Y+1, Z)
PedWander(Const)
PedMakeAmbient(Const)
ConstantinosSpawned = true
repeat
Wait(0)
until AreaGetVisible() ~= 59
ConstantinosSpawned = false
end
Wait(0)
end
Guys1 = AreaAddAmbientSpawner(10, 3, 0, 1000)
AreaSpawnerSetSexGeneration(Guys1, false, true) -- Males only
AreaAddAmbientSpawnPeriod(Guys1, 7, 0, 125)
AreaAddAmbientSpawnPeriod(Guys1, 12, 30, 30)
AreaAddAmbientSpawnPeriod(Guys1, 16, 0, 300)
Guys2 = AreaAddDocker(10, 2)
AreaSetDockerSexReception(Guys2, false, true)
AreaAddDockPeriod(Guys2, 11, 30, 60)
AreaAddDockPeriod(Guys2, 15, 30, 900)
AreaSetDockerChanceToDock(Guys2, 10)
AreaAddSpawnLocation(Guys1, POINTLIST._BdrDoorDownstairs3, TRIGGER._BdrDoorDownstairs3) -- Pointlists and Triggers can be found in the .DAT files (obviously custom ones need to made yourself). Change the names accordingly.