Interact to Change Visual Filter

Type: Hazard and Debuff
Level: 3 star
Pages: 1
Description: When the player interacts with a prop with this brain the world changes its visual filter (in this example, to Black and White) for 10 seconds with a visible meter counting down, and then reverts back again. Could be used in combination with a poison.

Note: Meters are still the colors of blue and red despite the activation of the filter.

Kode

  1. WHEN [interacted]
  2. …WHEN DO [it][numvar:doses][increment by][1]
  3. …WHEN DO [it][pick up][me]
  4. …WHEN DO [play fx][fx:Heal][on][it]
  5. WHEN [held in inventory]
  6. …WHEN DO [visual filter][equals][Black and White]
  7. …WHEN [countdown timer][10]
  8. …/…WHEN [owner][numvar:doses][equal to][1] DO [visual filter][equals][Default]
  9. …/…WHEN DO [owner][numvar:doses][decrement by][1]
  10. …/… DO [destroy]
  11. …WHEN [until][owner][numvar:doses][increased]
  12. …/…WHEN [duration timer][10] DO [display meter][blue][timer seconds remaining][max][10][screen bottom center][no HUD stack]

Alterations

Make this a hazard
To make this even more disorientating, such as a poison effect add some effects and damage as child lines to line 5 such as

…WHEN DO [camera shake][strength][20]
…WHEN [countdown timer] DO [damage][owner][5][without hit reaction]

 

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: