If I have a player targeted in script using local.player = parm.other, can I make just that one players' screen shake by lets say adding some lines like:
Will that cause just the one players' screen to shake or will all the players' screen shake that are in the server? Keep in mind this is for a server side mod to a stock map. I want to accomplish this while the player is standing inside a trigger_multiple.
Sweet! Now I have some new commands to study. .. lol ... half of that is greek to me. Such as += and -= ... never seen those used. And why the wait randomfloat instead of just wait 1?
Nevertheless I will make use of this little tidbit. I just like to understand what is I am using.
// local.number += 1 is equivalent to the line below.
// It means add one to local.number, and store the result in local.number.
local.number = local.number + 1
// local.number -= 1 is equivalent to the line below.
// It means minus one from local.number, and store the result in local.number.
local.number = local.number - 1
I'm guessing the random number is used to make the screen shake more varied, otherwise a shake of the same magnitude would look the same everytime (which is a bit boring).