NightFallKiller Posted March 7, 2010 Hello everyone. I've been wondering how to make it so when it's showing a camera (by going up to something and using it) i can make it so if the player presses use once more it shows another camera, I haven't been able to figure this out, so if someone could please explain, that would be great. *I'm mapping using Doombuilder, Zdoom in UDMF format if you need to know* 0 Share this post Link to post
Demon101 Posted March 13, 2010 NightFallKiller said: ...Zdoom in UDMF format... ________________________________________________________________________ I luv that Format, But I still like using Zdoom in Hexen 0 Share this post Link to post
Demon101 Posted March 13, 2010 NightFallKiller said: ...Zdoom in UDMF format... ________________________________________________________________________ Demon101: I luv that Format, But I still like using Zdoom in Hexen [/B][/quote]________________________________________________________________________ Demon101: Oh Right... continuosly changing cameras... Sorry. Cant help you with that, Hardly use cameras. 0 Share this post Link to post
Guest DILDOMASTER666 Posted March 13, 2010 Demon101 said:NightFallKiller said: ...Zdoom in UDMF format... ________________________________________________________________________ I luv that Format, But I still like using Zdoom in Hexen Demon101 said:NightFallKiller said: ...Zdoom in UDMF format... ________________________________________________________________________ Demon101: I luv that Format, But I still like using Zdoom in Hexen ________________________________________________________________________ Demon101: Oh Right... continuosly changing cameras... Sorry. Cant help you with that, Hardly use cameras. You know where the Quote and Edit buttons are, right? Also, Hexen format is obsolete. UDMF can do everything Hexen format can do (plus much more), only with less hassle.int CameraState=0; Script 1 (int base, int increment, int amount) { if(CameraState != amount) { CameraState++; ChangeCamera(base+(increment*CameraState),1,1); } else { CameraState=0; ChangeCamera(base,1,1); } } The script takes 3 arguments: the base TID of the first camera in the list, the number that should be added to TID every time the script is called to get the resulting camera ID, and the total number of cameras in the loop. 0 Share this post Link to post