Scripts / Problem with this simple lift script

Author
Message
Ratall
15
Years of Service
User Offline
Joined: 29th Jun 2008
Location: Not Here
Posted: 9th Oct 2015 08:37
Hi Guys

I knocked up this simple script to move an entity up/down hoping the player character would get lifted up by it.
But I am doing something wrong not only does it not lift the play it some times causes game guru to go extremely slow.

Could someone have a quick look and point out where I am going wrong. No doubt it is something stupid, I have over looked

Thank you in advance.

Here is the code.

CPU:i7-4720HQ Mem: 16G
Graphic: GTX 980M 8G and intel HD4600
OS: Windows10
PM
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 9th Oct 2015 09:25
Hi,

This one is from smallg, and is working.
Maybe you can see what he did.




Harry
Harry
PM
Ratall
15
Years of Service
User Offline
Joined: 29th Jun 2008
Location: Not Here
Posted: 10th Oct 2015 02:45
Thanks Harry and smallg.

I have studied smallg's script and I see what I did wrong.
I also saw some general techniques that I can apply to make some of my other scripts more reliable and will save me from problems later.
So I have some rewriting to do.

Thanks again
CPU:i7-4720HQ Mem: 16G
Graphic: GTX 980M 8G and intel HD4600
OS: Windows10
PM

Login to post a reply

Server time is: 2024-05-05 08:39:01
Your offset time is: 2024-05-05 08:39:01