- Joined
- Mar 16, 2014
- Messages
- 169
Hey, I have a functioning trigger that blanks a player's screen out for a few seconds. It works fine with the base game cinematic filter textures you're supposed to. I wanted to flash a custom texture over the screen, but the game wasn't having that. It just shows a brown filter out of the screen for my texture, instead of plastering the image over the screen like I want. My texture is being registered, because the brown color is unique from the usual cinematic filter masks. Any suggestions?
-
Flashbang run
-
Events
-
Conditions
-
Actions
-
Custom script: local player pl=Player(udg_MyPlayerNumber)
-
Custom script: if GetLocalPlayer()==pl then
-
Custom script: call SetCineFilterTexture("MyTexture.blp")
-
Custom script: call SetCineFilterStartColor(255,255,255,0)
-
Custom script: call SetCineFilterStartColor(255,255,255,255)
-
Custom script: call SetCineFilterDuration(500)
-
Custom script: call DisplayCineFilter(true)
-
Custom script: endif
-
Wait (5.00 + (Real((Level of Flash Bang (Lan Fan) for Lan_Fan_Unit)))) seconds
-
Custom script: if GetLocalPlayer()==pl then
-
Custom script: call SetCineFilterTexture("MyTexture.blp")
-
Custom script: call SetCineFilterStartColor(0,0,0,255)
-
Custom script: call SetCineFilterStartColor(0,0,0,0)
-
Custom script: call SetCineFilterDuration(5)
-
Custom script: call DisplayCineFilter(true)
-
Custom script: endif
-
Custom script: set pl=null
-
-