Scripts / Making Camera/Player Fly in the Y

Author
Message
Go Devils
11
Years of Service
User Offline
Joined: 13th Aug 2012
Location: Phoenix Arizona USA
Posted: 12th Jan 2015 17:05
Trying to understand how to control the "Y" values for the Player/Camera?
I know it's there in the background, as the F9 key during game play activates the Pg-Up/Pg-Dn keys so the player can be controlled in this way.

Is there any lua coding that allows the camera to be controlled in this way?

Does anyone have a copy of the jet-pack script which also seems to provide flying control?

Thanks

There is no Spoon...
Avram
GameGuru TGC Backer
17
Years of Service
User Offline
Joined: 3rd Sep 2006
Location: Serbia
Posted: 12th Jan 2015 19:34
No camera control at this time. Same goes for player control, I'm afraid.

What you may use is an entity where "IfUsed" field points to itself (so, it's Name and IfUsed are same) and then move the entity and call TransportToIfUsed(e) which will teleport player to the entity. I've played with this and it's really buggy (actually not buggy but flickering).

Login to post a reply

Server time is: 2024-05-07 12:09:48
Your offset time is: 2024-05-07 12:09:48