Jacobob14 Posted March 22, 2014 Posted March 22, 2014 (edited) as I can make nemesis spawn in the radararea local area = createRadarArea ( -50.9951171875, 1996.4365234375, 400, 400, 141, 7, 220, 175 ) local Nemesis = createTeam("Nemesis",141,7,220) local nemesisBots = {} function BossNemesis ( thePlayer ) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then for i=1, 10 do local x, y, z = getElementPosition ( thePlayer ) nemesisBots[i] = exports [ "slothBot" ]:spawnBot ( x+i,y+i,z+(i/2), 90, math.random ( 300, 303 ), 0, 0, Nemesis, 38, "hunting", true ) exports.extra_health:setElementExtraHealth ( nemesisBots[i], 150 ) setElementModel ( nemesisBots[i], 107 ) end end end Edited March 22, 2014 by Guest
Castillo Posted March 22, 2014 Posted March 22, 2014 You want to spawn these bots inside the radar area, but they are spawning outside of it?
Jacobob14 Posted March 22, 2014 Author Posted March 22, 2014 You want to spawn these bots inside the radar area, but they are spawning outside of it? as I can make make nemesis spawner in the area
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now