Royal King/ Royal Queen

Type: Allies brain
Level: not in gallery
Pages: 2
Description: Found in the Royal King character model. The NPC is part of the player’s team but is not a follower. The Royal Queen brain is a variation on this. Changes are

Line 1 cut
Line 6 addition of [with windup]
Line 7 pause attack between 0.5 and 2.5
page 2 text says Im the Queen of….


page 1 @Melee Logic

  1. WHEN [once] DO  [equip][Royal Scepter]
  2. …WHEN DO [team][equals][team 1] //Determines that the player is an ally 
    Attack kode
  3. WHEN [enemies][objects closer than][17] DO [objvar:my enemy][equals][it]
  4. WHEN [not][objvar:my enemy][is dead] DO [move][toward][objvar:my enemy]
  5. …WHEN [distance to][objvar:my enemy][less than][2]
  6. …/…WHEN [countdown timer][#pause attack][loop] DO [attack][objvar:my enemy][end combo]
  7. …/…/…WHEN DO [#pause attack][equals][random number][0.5][to][1.5]
  8. WHEN [hit by attack][enemies] DO [objvar:my enemy][equals][it]
  9. WHEN [interacted][by][player] DO [turn][toward][it]
  10. …WHEN DO [switch page][page: @Talk]

page 2 @Talk

  1. WHEN [page entered] DO [emote][Talk]
  2. WHEN DO [say][text: Im the King of….]
  3. WHEN [countdown timer][4] DO [switch page][page:@Melee Logic]

Comments are closed.

Website Powered by

Up ↑

%d bloggers like this: