Jump to content
Sign in to follow this  
meatball

Post Processing Effect by Script for Individual Players?

Recommended Posts

Just wondering if there's any way to script a change in an individuals post processing effects to add and then later remove one of the effects. I'd like to be able to set it so the players (and only that player) screen goes completely Black and White, and then later be able to remove that effect without changing everyone's view. That possible?

Share this post


Link to post
Share on other sites

I'm not sure and maybe talking complete rubbish but I was messing with this recently, try putting it in a trigger grouping or attaching the trigger to player, I know the effect only worked inside the trigger. Or probably there's a more eloquent way.

Share this post


Link to post
Share on other sites

I've tried a bunch of different ways to do this without any luck so far. The one I thought would work was placing two Post Processing modules on the map, one set to the "Black & White" template, one set a "None" template. Then I synched a trigger to each with the variable check that should turn each one on or off, but no dice.

Gonna keep trying though...

Share this post


Link to post
Share on other sites

You can't run the PP module functions locally? Find the function that the module runs and try to run it locally instead of globally.

Share this post


Link to post
Share on other sites

Ah, perfect. I dug around the functions and finally came up with the following function that you can call:

[0,1,2] call bis_fnc_setppeffecttemplate;

Where the Parameters are:

0: STRING - template class [Options: "NONE", "EastWind","RealisBrown","BlackandWhite","Mediterranean"]

1 (Optional): NUMBER - commit time in seconds (default: 0)

2 (Optional): BOOL - true for global execution (default: true)

Thanks for pointing me in the right direction!

Edit: Not sure why it's putting a space in "Mediterranean" up above, but there shouldn't be one, it's all one word.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×