Jump to content

Recommended Posts

Hello, I have a question :). So, if possible I want to make my character be able to cause a screen shake for all players & himself when he goes insane, would that be possible or no? I checked through camerashake.lua, bearger.lua & deerclops.lua but couldn't understand anything :(... I'd really appreciate some pro help :D!!! Thank you for reading me question, have a great day/night :D!!!!!!

Edited by SuperDavid
-- modes: CAMERASHAKE.FULL, CAMERASHAKE.SIDE, CAMERASHAKE.VERTICAL
-- duration, speed, scale; play with those to adjust the shake and how much of it reach farther distances
-- source: entity causing the shaking
-- maxDist: no part of the shake won't reach people outside that

ShakeAllCameras(mode, duration, speed, scale, source, maxDist)

-- Deerclops example:
ShakeAllCameras(CAMERASHAKE.VERTICAL, 0.5, 0.03, 2, inst, 40)

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...