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:
;Artificial Intelligence Script
;Created by Corno_1
;Header
desc = flycam
;Triggers
;Q-key move the player up
;E-key move the player down
:state=0:dimvar=plrhigh,setvar=plrhigh 0
:state=0:plrspeedmod=300,jumpkey=0,peekkey=0,crouchkey=0,plrcamoffseton=1,state=1
:state=1,keypressed=16 1:addvar=plrhigh 1,state=2
:state=1,keypressed=18 1:subvar=plrhigh 1,state=2
:state=2:setcamoffsety=%plrhigh,state=1
;End of Script
you need a script? I need useful requests at the moment!
http://forum.thegamecreators.com/?m=forum_view&t=200918&b=23