Scripts / New imp script help needed :)

Author
Message
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 29th Oct 2018 17:41 Edited at: 29th Oct 2018 17:43
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



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

Attachments

Login to view attachments
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 29th Oct 2018 18:58
Move one of the 'end' statements at the end to be in between the 'impanim[e] = 1' and the 'if PlayerDist < 500 then'.
Been there, done that, got all the T-Shirts!
PM
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 29th Oct 2018 19:06
Perfect thanks m8
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

Login to post a reply

Server time is: 2024-03-29 05:48:23
Your offset time is: 2024-03-29 05:48:23