Was discussed for some time but is there a way to make the Spawn Stop Movement and FaceTarget, like when hailed, when it is in a MovementLoop?
I'm also having trouble getting 2 spawns to follow a primary spawn around without wandering off if the primary is stopped for whatever reason ,attacked in this case. The Spawn in question is Baron Dracious and his 2 guard dogs.
And lastly ,at least for now, I have around thirt spawns wandering around East Freeport now and every time they run into each other they start jumping around eventually pathing off, is there a way to make a MovementLoop path to an approximint destinition?
Code: Select all
function spawn(NPC)
MovementLoopAddLocation(NPC, -202.57, -56.07, 32.62, 1, math.random(5, 15))
MovementLoopAddLocation(NPC, -212.03, -56.07, -3.67, 1, math.random(5, 15))
endCode: Select all
function spawn(NPC)
MovementLoopAddLocation(NPC, math.random(-200.01, -202.57), math.random(-50.02, -56.07), math.random(30.05, 32.62), 1, math.random(5, 15))
end