Paste #29159: Test bubble

Date: 2016/01/26 10:31:58 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


AristoteQuest: 
    type: assignment 
    interact scripts: 
    - 1 AristoteMain 

AristoteMain: 
    type: interact 
    steps: 
        1: 
            click trigger: 
                script: 
                - engage
                - chat "hello"
                - disengage

Chat_POC: 
  type: world 
  debug: false 
  events: 
    on player chats: 
    - spawn armor_stand[has_ai=false;display_name=test] <pl.location.add[0,2,0]> save:bubble 
    - define chat <entry[bubble].spawned_entities.get[1]> 
    - mount <def[chat]>|<player> <player.location> 
    - adjust <def[chat]> has_ai:false 
    - adjust <def[chat]> visible:false 
    - adjust <def[chat]> size:small 
    - adjust <def[chat]> custom_name_visible:true 
    - adjust <def[chat]> custom_name:<aqua><c.message> 
    - wait 3s 
    - remove <def[chat]>