Pressure Plate

Type: Prop Brain
Level: not in gallery
Pages: 1
Description: Found in the Ancient Pressure Plate prop. When the player stands on the plate it is activated (the centre drops) and a Kodian golem is created.

Kode

  1. WHEN [after][distance to][player][less than][0.5]
  2. …WHEN DO [power on]
  3. WHEN [duration timer][0.6] DO [camera shake][strength][5]
  4. WHEN [countdown timer][0.6]
  5. …WHEN [started to] DO [play fx][fx:Energy Burst A][at position][position][plus][forward][multiplied by][5] // plays an effect in front of the pressure plate
  6. …WHEN [started to][countdown timer] DO [create][Kodian Golem][at position][position][plus][forward][multiplied by][5] // creates an enemy at the position of the fx

Alterations

It seems strange that they chose the distance tile as detection when a trigger zone on the pressure plate would make more sense. If you want to have a more definite trigger (such as the center of the plate) then use:

  1. WHEN [in trigger zone][player]

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: