Malibuz0r Posted February 13, 2013 Share Posted February 13, 2013 (edited) I'm new to this.. I've been reading about how to make the scripts, but never saw any examples of what I wanted. Anyways, I just want a "base" script, let's say an "empty" template. Something like the following: //Template bool gLookingBehind = false; if(HoldKey(0x102) && gLookingBehind == false) // Middle Mouse Button { // Do Something - Set his camera to look back gLookingBehind = true; } else if(ReleasedKey(0x102) && gLookingBehind == true) // Middle Mouse Button { // Do something - Set his camera to normal gLookingBehind = false; } //Template I know, the syntax is different, but that's a rough example. --What I'm trying to do is; At any time, the player holds MMB, his camera will turn back, once released, his camera is switched back to normal. PS: I'm terrible at explaining, so I hope you guys get the idea. Edited February 13, 2013 by Malibuz0r Link to comment Share on other sites More sharing options...
Malibuz0r Posted February 14, 2013 Author Share Posted February 14, 2013 Bump! Link to comment Share on other sites More sharing options...
Recommended Posts