Date: 2016/01/26 11:38:53 UTC-08:00
Type: Denizen Script
AristoteQuest:
type: assignment
interact scripts:
- 1 AristoteMain
AristoteMain:
type: interact
steps:
1:
click trigger:
script:
- engage
- define message "My custom message."
- run RealisticChat def:<npc>|<def[message]> instantly
- disengage
RealisticChat:
type: task
debug: false
script:
- narrate "<def[1].name> <&co> <def[2]>"
- spawn armor_stand[has_ai=false;display_name=test] <npc.location.add[0,2,0]> save:bubble
- define chat <entry[bubble].spawned_entities.get[1]>
- mount <def[chat]>|<npc> <npc.location>
- adjust <def[chat]> has_ai:false
- adjust <def[chat]> visible:false
- adjust <def[chat]> custom_name_visible:true
- adjust <def[chat]> custom_name:<aqua><tata>
- wait 3s
- remove <def[chat]>