#(robarm) Templates not working

9 messages · Page 1 of 1 (latest)

knotty cairnBOT
#

(robarm) Templates not working

#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

cloud vector
#

@strange spindle I'll look at this when I can but I think you need to remove the templates: tag at the top

#

If you use /template generate with an npc selected you should see the new format

strange spindle
#

So after I generated it, here's what I get:

#
guildrep:
  yaml_replace:
    replacements:
      metadata:
        cached-skin-uuid: a54e76da-a6f3-41ae-ae79-54c2af92c316
        cached-skin-uuid-name: cgr
        nameplate-visible: 'true'
      name: '&eCrafting Guild Representative'
      traits:
        scoreboardtrait:
          tags:
            '0': CITIZENS_NPC
        skintrait:
          signature: ... (long text)
          textureRaw: ... (long text)
        owner:
          uuid: b2ed9991-5b50-40ec-a270-4632eb21ea10
        type: PLAYER
        location:
          bodyYaw: -172.0629
          worldid: bef2da64-a589-4887-86a8-d3d92f8dbb0d
          x: -478.1887
          y: 127.0
          z: -849.2486
          yaw: -10.0484
          pitch: 34.1999
      traitnames: scoreboardtrait,owner,spawned,hologramtrait,skintrait,location,type,inventory,chunktickettrait
      navigator:
        speedmodifier: 1.0
        avoidwater: false
        usedefaultstuckaction: false
    override: true

I want to add this to it

commands:
      on_spawn:
        - npc select --self
        - npc command add -r -o "bq event %player% guilds.startCraftingGuildDialogue"

where and how can I do this?

strange spindle
#

I tried this:

guildrep:
  yaml_replace: ...
  commands:
    on_spawn:
      - say Hello!
      - npc select --self
      - npc command add -r -o "bq event %player% guilds.startCraftingGuildDialogue"

But it does not work, it doesn't even say Hello! when he spawns.

crude perchBOT
#

@strange spindle

Thread Close Blocked

Thread was closed either automatically by timeout or by the Discord manual close button. If closing was intentional, please use </resolved:1028673926114594866> or </invalid:1028673926898909185>.