- All of these calls must now be made through socketLib. Use the commands
KFC.executeForEveryone("function", parameters)
for example,KFC.executeForEveryone("heartBeat", 2, 3000, 3)
- For any "toggle" effect (sepia, drug, fade, blur, negative, black) you must use
KFC.executeAsGM("function", [userID's], parameters)
- Screen Rumble
- User localizable
Param | Type | Description |
---|---|---|
intensity | Number | Value to change pixel offset for the shake effect |
duration | Number | Value in milliseconds for each iteration, default value 500 |
iteration | Number | Number of times to repeat the animation, default value 3 |
- Screen pulse using scale
- User localizable
Param | Type | Description |
---|---|---|
intensity | Number | Value to change zoom for the scale effect, 1 = default, > 1 = larger effect, < 1 = smaller (hard coded, cannot increase/decrease further) |
duration | Number | Value in milliseconds for each iteration, default value 1500 |
iteration | Number | Number of times to repeat the animation, default value 3 |
- Spin screen
- Actuall speed determined by
duration/intensity
- User localizable
Param | Type | Description |
---|---|---|
intensity | Number | Value to change spin speed |
duration | Number | Value in milliseconds for each iteration, default value 400 |
iteration | Number | Number of times to repeat the animation, default value 3 |
- Actually executes the
drug()
method, will not survive refreshes if called on its own - Slow sway and hue shift tint
- User localizeable
Param | Type | Description |
---|---|---|
userID | Array | Array of User ID's to apply the effect to |
intensity | Number | Value to change blur strength and rotation angle |
duration | Number | Value in milliseconds for each iteration, default value 1000 |
iteration | Number | Number of times to repeat the animation, default value Infinity |
- Fade canvas to non-visible
- No parameters
- Will not survive refreshes
- Internally calls
drugged()
will survive refreshes
Param | Type | Description |
---|---|---|
userID | Array | Array of User ID's to apply the effect to |
intensity | Number | Value to change blur strength and rotation angle |
duration | Number | Value in milliseconds for each iteration, default value 1000 |
iteration | Number | Number of times to repeat the animation, default value Infinity |
- Gives canvas a sepia tint
Param | Type | Description |
---|---|---|
userID | Array | Array of User ID's to apply the effect to |
Param | Type | Description |
---|---|---|
userID | Array | Array of User ID's to apply the effect to |
intensity | Number | Value to change blur strength in pixels |
- Negative tint to entire screen
Param | Type | Description |
---|---|---|
userID | Array | Array of User ID's to apply the effect to |
- Turns entire screen black
Param | Type | Description |
---|---|---|
userID | Array | Array of User ID's to apply the effect to |