Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Need help with a script

Author
Message
Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 5th Dec 2012 20:31
Hello
I post my flycam script in my thread, but i find there must be a different way to do it. So i recreate one from ground up, but it works not as i want. So please help

What it should do:
- you can press q and the plr cam goes higher
- you can press e and the plr cam goes down
I use 1.2Beta6!

Here is the script:


you need a script? I need useful requests at the moment!
http://forum.thegamecreators.com/?m=forum_view&t=200918&b=23
Troutflies
13
Years of Service
User Offline
Joined: 24th Feb 2011
Location: Stuck outside my map.
Posted: 10th Dec 2012 16:20
From what I can see



needs to be this
Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 10th Dec 2012 17:23
Sorry is not working for me! Did it work for you?

Thanks for your try

you need a script? I need useful requests at the moment!
http://forum.thegamecreators.com/?m=forum_view&t=200918&b=23
The Zombie Killer
13
Years of Service
User Offline
Joined: 27th Mar 2011
Location: Gold Coast, Australia
Posted: 13th Dec 2012 07:08 Edited at: 13th Dec 2012 07:09
@Corno_1
Just use this to raise the player:
AddVar=$CPY 1

And to lower:
SubVar=$CPY 1

Oh and also:
KeyPressed is a more advanced version of ScanCodeKeyPressed.
It's essentially the same except you can check if they key is not pressed as well.

-TZK

Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 13th Dec 2012 13:47
@The Zombie Killer thank you for this, i forget the standart vars

Hope it works

you need a script? I need useful requests at the moment!
http://forum.thegamecreators.com/?m=forum_view&t=200918&b=23

Login to post a reply

Server time is: 2024-11-23 17:21:15
Your offset time is: 2024-11-23 17:21:15