Create on Trigger (Enemy spawner)

Type: Assembly Brain
Level: 1 star
Pages: 1
Description: Part of the Create on Trigger assembly. This puts a rock in the world with a trigger sensor. When the player enters the area 2 goblins are spawned either side of the rock (at the position of 2 logic cubes).

Kode

  1. WHEN [after][in trigger zone][player]
  2. …WHEN [once]
  3. …/…WHEN DO [create][goblin bruiser][at position][iwp:Create Goblin Point A]
  4. …/…WHEN DO [create][fx:Poof][at position][iwp:Create Goblin Point A]
  5. …WHEN [started to][countdown timer][1]
  6. …/…WHEN DO [create][goblin scavenger][at position][iwp:Create Goblin Point B]
  7. …/…WHEN DO [create][fx:Poof][at position][iwp:Create Goblin Point B]

 

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: