SMOD Icon SMOD Thread

Freeze a Players functions and movement in Source

Yo, buddy. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending EliasWick points.
  • Post: Give EliasWick your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Join the community!

Become a Bananite

Already a Bananite? Login

How can I "Freeze" a Players functions and movement in the Source Engine?

Hello people, I am currently making a game (The Name is still Secret). Either way, I thought of adding a little cut-scene in the middle of the game, by using some motion cameras and such. So the question is, "How Can Freeze a Players functions and prevent the player from moving, while the cut-scene is playing? I know some methods, but I am looking for the ultimate one, so that it looks the best result. Some of the methods I thought of, was: - Spawning a "Nodraw" block on top of the player, so that the player is unable to move. - Boxing in the player in invisible blocks. If there is an ultimate way to do this and you feel free to share, drop a comment in the comment section below! Thanks, Elias Wick.

Posts

  • 4y
    Devieus avatar
    Moderator Joined 7y
    78,900 points Ranked 49th
    63 medals 4 legendary 10 rare
    • 1st Place - Tutorial Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Twelve Winner! Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Sixteen Winner! Medal icon
    The best way to do it is exactly like Valve did in the entire Half-Life series, don't make cut scenes, but scripted sequences where things just sort of happen around the player.
    • Helpful x 1
    • Interesting x 1
    • Thanks x 1
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote
  • 4y
    Sally-2K avatar
    Sally-2K Offline
    Member Joined 5y
    game_ui or a point_camera then hit the flags to disable movement.
    • Helpful x 1
    • Interesting x 1
    • Thanks x 1
    Call me Masterb8es
  • 4y
    EliasWick avatar
    EliasWick Offline
    Member Joined 4y
    554 points Ranked 7739th
    Wow Guys! Thanks for the quick answers! If there is anything I can do in return, then just ask for it!
    Didn't expect two quick answers! Faith in Humanity restored!
    Source Engine Elite

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Submitter

EliasWick avatar
EliasWick Offline
Member Joined 4y
554 points Ranked 7739th

EliasWick
Send a Private Message to the submitter

Game

Category

Attributes

Stats

Posts
3
Views
3,755
Date Added
4y
Date Modified
4y