Camera on Mover

Type: Assembly Brain
Level: not in gallery
Pages: 1
Description: A triggered camera that moves on a path.

Note: This brain is faulty and does not work. It does not return power back to the player once the path has completed. See Alterations for fix.

Kode

Trigger stone (power linked to camera and path)

  1. WHEN [started to][in trigger zone][player]
  2. …WHEN DO [IWP:camera][objvar:player][equals][it] // identifies the player as the player object
  3. …WHEN DO [power on]

Camera

  1. WHEN [has power]
  2. …WHEN DO [1st person camera][without controls]
  3. …WHEN DO [deactivate brain][objvar:player]
  4. WHEN [path complete][on path][IWP:path]
  5. …WHEN DO [activate brain][objvar:player]
  6. …WHEN DO [deactivate brain][IWP:trigger stone]

Alterations

The fix for this is pretty simple.

In trigger stone change line 1 [started to] to [once]

In Camera brain change line 6 to

…WHEN DO [IWP:trigger stone][power off]

 

 

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: