HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 

 Disable F3 Camera Mode

Go down 

Game username : Hyper
Server : Azoptaos
Male Posts : 535
Join date : 2014-02-09
Age : 20

PostSubject: Disable F3 Camera Mode   Thu Nov 20, 2014 4:05 am

In MagixUnitManager, find void updateUnit(MagixUnit *unit, const FrameEvent &evt, bool isPlayer)

Add this inside:

      if(isPlayer) {
         if (mWorld->getWorldName() == "Map Name" || mWorld->getWorldName() == "Map Name2")
            if (mCamera->getCameraMode()==CAMERA_FREE) mCamera->setCameraMode(CAMERA_LOCKED);

This code makes it so when a player hits F3 in the specified map, it changes to F1 camera mode

i can code you things

Last edited by Hyper on Sat Dec 06, 2014 10:18 pm; edited 1 time in total
Back to top Go down
Dead Account


Male Posts : 531
Join date : 2013-06-17

PostSubject: Re: Disable F3 Camera Mode   Sun Nov 23, 2014 6:53 am

This will especially help in item/easter egg hunts! Thankyou!
Back to top Go down
Disable F3 Camera Mode
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: DOWNLOADABLE CONTENT :: Programming Features-
Jump to: