Hey all, Yep the Imps are back, after loosing all the models It's taken quite a while to get all the models I want back (after the HDD crash) for what was Vcity, now "Asgood" more to follow on that later
What I'm having trouble with atm I have done some scripts to animate the Imps smashing up cars beating up grannies etc etc and need them to disappear when the player gets to a certain distance so I can spawn the same model with the GG soldier script on it, they are animating correctly but wont disappear when the player gets closer. not scripted for a bit so its probably something simple I've missed. Cheers Guys
impanim= {}
function impswipeanim_init(e)
SetAnimation(0)
impanim[e] = 0
end
function impswipeanim_main(e)
PlayerDist = GetPlayerDistance(e)
if impanim[e] == 0 then
SetAnimationFrames(1,81)
LoopAnimation(e)
impanim[e] = 1
if PlayerDist < 500 then
StopAnimation(e)
Destroy(e)
end
end
end
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel
I only smile because i have absolutely no idea whats going on