Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Locking the player camera

Author
Message
Black Profductions
16
Years of Service
User Offline
Joined: 15th Sep 2008
Location: Argentina
Posted: 31st Jul 2011 16:35 Edited at: 31st Jul 2011 16:50
Hey guys, i am back to this community after a really long break and i am learning some scripting basics and i was just wondering if theres a command to "lock the camera"
Thanks!

maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 31st Jul 2011 19:23
you can use "plrfreeze" so the player cannot move at all, but i dont know if he can turn the head. try it. some MODS have scriptactions like that (ProjectBlue i think).
Black Profductions
16
Years of Service
User Offline
Joined: 15th Sep 2008
Location: Argentina
Posted: 31st Jul 2011 21:04
Thanks for the help maho76

Pirate Myke
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, Ca
Posted: 31st Jul 2011 22:35
Actions:
plrfreeze
plrpointatobject=

Conditions:
plrnotfacing=
plrfacing=

Not exactly what you want, but what we have. Maybe the second action.

Spawn the object to look at and then call the plrfreeze action for x number of milliseconds. Give you a little control. Rotation direction seems to be random sometimes.

Hope this helps also.


Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 2nd Aug 2011 20:06
plrdisable=x completely disables the player (x being milliseconds).


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
Le Shorte
15
Years of Service
User Offline
Joined: 6th Apr 2009
Location: Wisconsin
Posted: 2nd Aug 2011 20:32
Any of these solutions should work well.

(And Marc Steene, I haven't seen a post from you in months!)

Cheesehead for life.
Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 2nd Aug 2011 21:08
Quote: "(And Marc Steene, I haven't seen a post from you in months!)"


Haha yeah I stopped visiting the forums for a bit while I revised for my AS exams, but those are done now so I'm back


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
Le Shorte
15
Years of Service
User Offline
Joined: 6th Apr 2009
Location: Wisconsin
Posted: 3rd Aug 2011 06:53
Quote: "Haha yeah I stopped visiting the forums for a bit while I revised for my AS exams, but those are done now so I'm back"

Yay. Always good to see more crazy scripting and such from you.

Cheesehead for life.

Login to post a reply

Server time is: 2024-11-24 06:53:31
Your offset time is: 2024-11-24 06:53:31